aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-07-02 23:42:00 +0200
committerKim Alvefur <zash@zash.se>2018-07-02 23:42:00 +0200
commitc58d93be51c37622ad1a0ae23007af488a110c7c (patch)
tree70bd9150f406a3986760018dd1909660de84e9cf
parent198d96dcf50a01cf0dffd68c0e2c229cbb363659 (diff)
downloadprosody-c58d93be51c37622ad1a0ae23007af488a110c7c.tar.gz
prosody-c58d93be51c37622ad1a0ae23007af488a110c7c.zip
mod_uptime: Depend on mod_adhoc
-rw-r--r--plugins/mod_uptime.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_uptime.lua b/plugins/mod_uptime.lua
index a0a844a1..b018da7b 100644
--- a/plugins/mod_uptime.lua
+++ b/plugins/mod_uptime.lua
@@ -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()