aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_ping.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-07-02 23:51:19 +0200
committerKim Alvefur <zash@zash.se>2018-07-02 23:51:19 +0200
commitfa84e0f50a5b9833ff344c5ff2c7f13d3778b6e2 (patch)
tree9c3bcea310b376fb91f16681d930bcc5f9f28e4c /plugins/mod_ping.lua
parentc58d93be51c37622ad1a0ae23007af488a110c7c (diff)
downloadprosody-fa84e0f50a5b9833ff344c5ff2c7f13d3778b6e2.tar.gz
prosody-fa84e0f50a5b9833ff344c5ff2c7f13d3778b6e2.zip
mod_ping: Fix typo
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 09f78efa..33f05197 100644
--- a/plugins/mod_ping.lua
+++ b/plugins/mod_ping.lua
@@ -26,7 +26,7 @@ function ping_command_handler (self, data, state) -- luacheck: ignore 212
return { info = "Pong\n"..now, status = "completed" };
end
-module:depend "adhoc";
+module:depends "adhoc";
local adhoc_new = module:require "adhoc".new;
local descriptor = adhoc_new("Ping", "ping", ping_command_handler);
module:add_item ("adhoc", descriptor);