aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_uptime.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-10-27 17:36:51 +0200
committerKim Alvefur <zash@zash.se>2018-10-27 17:36:51 +0200
commit6156a086d28b64aa2c90294ebedfbfba79311cb3 (patch)
treea29f619b9b96c8dc06439dbf70d7dbbb5fb13ff1 /plugins/mod_uptime.lua
parentcb3b1c47b18b09680f4441df666809884dae6232 (diff)
downloadprosody-6156a086d28b64aa2c90294ebedfbfba79311cb3.tar.gz
prosody-6156a086d28b64aa2c90294ebedfbfba79311cb3.zip
mod_ping, mod_uptime: Use module:provides
Diffstat (limited to 'plugins/mod_uptime.lua')
-rw-r--r--plugins/mod_uptime.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_uptime.lua b/plugins/mod_uptime.lua
index 24985ef1..ccd8e511 100644
--- a/plugins/mod_uptime.lua
+++ b/plugins/mod_uptime.lua
@@ -44,4 +44,4 @@ end
local descriptor = adhoc_new("Get uptime", "uptime", uptime_command_handler);
-module:add_item ("adhoc", descriptor);
+module:provides("adhoc", descriptor);