aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_ping.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
commit9c620291f41d8f1c7923265539297f4275e949b3 (patch)
treea29f619b9b96c8dc06439dbf70d7dbbb5fb13ff1 /plugins/mod_ping.lua
parentdee63f8605dd4e88b593571dadaf13c6ac28a478 (diff)
downloadprosody-9c620291f41d8f1c7923265539297f4275e949b3.tar.gz
prosody-9c620291f41d8f1c7923265539297f4275e949b3.zip
mod_ping, mod_uptime: Use module:provides
Diffstat (limited to 'plugins/mod_ping.lua')
-rw-r--r--plugins/mod_ping.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_ping.lua b/plugins/mod_ping.lua
index 33f05197..5fff58d1 100644
--- a/plugins/mod_ping.lua
+++ b/plugins/mod_ping.lua
@@ -29,5 +29,5 @@ end
module:depends "adhoc";
local adhoc_new = module:require "adhoc".new;
local descriptor = adhoc_new("Ping", "ping", ping_command_handler);
-module:add_item ("adhoc", descriptor);
+module:provides("adhoc", descriptor);