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 | ac987c6332df2b94fd9a7457e20392ae2be5207f (patch) | |
tree | c7b50ca6da5cfc9bd5534965661f5e6f5c554fb1 /plugins | |
parent | 56574de0361da6c9ad5f6ad748d68b24bce3e81a (diff) | |
download | prosody-ac987c6332df2b94fd9a7457e20392ae2be5207f.tar.gz prosody-ac987c6332df2b94fd9a7457e20392ae2be5207f.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 |