diff options
author | Kim Alvefur <zash@zash.se> | 2018-04-06 01:32:28 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-04-06 01:32:28 +0200 |
commit | 66db222b38dc2795feaaf0ad3452b3534dcfe443 (patch) | |
tree | ec38c9c5fedbc0a948ce09a13886f0603dca9714 | |
parent | b1235c60a71fe55ac329580a6792e04fba9a4d04 (diff) | |
download | prosody-66db222b38dc2795feaaf0ad3452b3534dcfe443.tar.gz prosody-66db222b38dc2795feaaf0ad3452b3534dcfe443.zip |
mod_ping: Ignore unused arguments [luacheck]
-rw-r--r-- | plugins/mod_ping.lua | 2 |
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 |