Changeset

8729:c519c778f2b2

mod_ping: Ignore unused arguments [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 06 Apr 2018 01:32:28 +0200
parents 8728:41c959c5c84b
children 8731:6063f9211fd1
files plugins/mod_ping.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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