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 | da6459157ddcebccf5d1cfb7e2148974ac84ded4 (patch) | |
tree | ec38c9c5fedbc0a948ce09a13886f0603dca9714 /plugins/mod_ping.lua | |
parent | 3ec060fc0c140fa5f7fb09b3d64d715559dd54be (diff) | |
download | prosody-da6459157ddcebccf5d1cfb7e2148974ac84ded4.tar.gz prosody-da6459157ddcebccf5d1cfb7e2148974ac84ded4.zip |
mod_ping: Ignore unused arguments [luacheck]
Diffstat (limited to 'plugins/mod_ping.lua')
-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 |