From 8a1f98dc721b947a400b316cd979e1103db7bf89 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 19 Apr 2016 18:00:04 +0200 Subject: [PATCH] mod_bosh: Add annotations to ignore unused arguments [luacheck] --- plugins/mod_bosh.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index 52841f0c..5a5de789 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -199,7 +199,7 @@ function handle_POST(event) return tostring(close_reply) .. "\n"; end -function after_bosh_wait(now, request, session) +function after_bosh_wait(now, request, session) -- luacheck: ignore 212 if request.conn then session.send(""); end @@ -401,7 +401,7 @@ end local function handleerr(err) log("error", "Traceback[bosh]: %s", traceback(tostring(err), 2)); end -function runner_callbacks:error(err) +function runner_callbacks:error(err) -- luacheck: ignore 212/self return handleerr(err); end -- 2.30.2