mod_uptime: Depend on mod_adhoc

This commit is contained in:
Kim Alvefur 2018-07-02 23:42:00 +02:00
parent 198d96dcf5
commit c58d93be51

View file

@ -23,6 +23,7 @@ module:hook("iq/host/jabber:iq:last:query", function(event)
end);
-- Ad-hoc command
module:depends "adhoc";
local adhoc_new = module:require "adhoc".new;
function uptime_text()