From da6459157ddcebccf5d1cfb7e2148974ac84ded4 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 6 Apr 2018 01:32:28 +0200 Subject: mod_ping: Ignore unused arguments [luacheck] --- plugins/mod_ping.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 -- cgit v1.2.3