aboutsummaryrefslogtreecommitdiffstats
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
commitda6459157ddcebccf5d1cfb7e2148974ac84ded4 (patch)
treeec38c9c5fedbc0a948ce09a13886f0603dca9714
parent3ec060fc0c140fa5f7fb09b3d64d715559dd54be (diff)
downloadprosody-da6459157ddcebccf5d1cfb7e2148974ac84ded4.tar.gz
prosody-da6459157ddcebccf5d1cfb7e2148974ac84ded4.zip
mod_ping: Ignore unused arguments [luacheck]
-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