# HG changeset patch # User Kim Alvefur # Date 1461081604 -7200 # Node ID c381106173d04af27145fe743a2380db7ec2b9f8 # Parent 3219b23c42556fed51c521b0871cfc2893bd6e9d mod_bosh: Add annotations to ignore unused arguments [luacheck] diff -r 3219b23c4255 -r c381106173d0 plugins/mod_bosh.lua --- a/plugins/mod_bosh.lua Tue Apr 19 17:59:49 2016 +0200 +++ b/plugins/mod_bosh.lua Tue Apr 19 18:00:04 2016 +0200 @@ -199,7 +199,7 @@ 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 @@ 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