Diff

plugins/mod_ping.lua @ 8729:c519c778f2b2

mod_ping: Ignore unused arguments [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 06 Apr 2018 01:32:28 +0200
parent 6012:7e8a624272bf
child 8961:5d4ebceaf8aa
line wrap: on
line diff
--- a/plugins/mod_ping.lua	Sun Feb 04 01:51:25 2018 +0100
+++ b/plugins/mod_ping.lua	Fri Apr 06 01:32:28 2018 +0200
@@ -21,7 +21,7 @@
 
 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