Software /
code /
prosody
Changeset
7391:c381106173d0
mod_bosh: Add annotations to ignore unused arguments [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 19 Apr 2016 18:00:04 +0200 |
parents | 7390:3219b23c4255 |
children | 7395:97fe648176ab |
files | plugins/mod_bosh.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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