aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_ping.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-04-06 01:32:28 +0200
committerKim Alvefur <zash@zash.se>2018-04-06 01:32:28 +0200
commit66db222b38dc2795feaaf0ad3452b3534dcfe443 (patch)
treeec38c9c5fedbc0a948ce09a13886f0603dca9714 /plugins/mod_ping.lua
parentb1235c60a71fe55ac329580a6792e04fba9a4d04 (diff)
downloadprosody-66db222b38dc2795feaaf0ad3452b3534dcfe443.tar.gz
prosody-66db222b38dc2795feaaf0ad3452b3534dcfe443.zip
mod_ping: Ignore unused arguments [luacheck]
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 1a503409..5559c5ca 100644
--- a/plugins/mod_ping.lua
+++ b/plugins/mod_ping.lua
@@ -21,7 +21,7 @@ module:hook("iq-get/host/urn:xmpp:ping:ping", ping_handler);
local datetime = require "util.datetime".datetime;
-function ping_command_handler (self, data, state)
+function ping_command_handler (self, data, state) -- luacheck: ignore 212
local now = datetime();
return { info = "Pong\n"..now, status = "completed" };
end