aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commitc176da571c82d403c80a28d788ab6882d1260c56 (patch)
tree70bd9150f406a3986760018dd1909660de84e9cf /plugins
parentbbd5d427e539c378e12291540026cd5c84217f0c (diff)
downloadprosody-c176da571c82d403c80a28d788ab6882d1260c56.tar.gz
prosody-c176da571c82d403c80a28d788ab6882d1260c56.zip
mod_uptime: Depend on mod_adhoc
Diffstat (limited to 'plugins')
-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()