diff options
author | Kim Alvefur <zash@zash.se> | 2016-04-19 18:00:04 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-04-19 18:00:04 +0200 |
commit | 87a44cc0836768f3409b90d2be8801272ff643a3 (patch) | |
tree | c7b50ca6da5cfc9bd5534965661f5e6f5c554fb1 /plugins | |
parent | e82619300207643f7cac052229246ac383278f8e (diff) | |
download | prosody-87a44cc0836768f3409b90d2be8801272ff643a3.tar.gz prosody-87a44cc0836768f3409b90d2be8801272ff643a3.zip |
mod_bosh: Add annotations to ignore unused arguments [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_bosh.lua | 4 |
1 files 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 |