projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fb100d4
)
mod_bosh: Add annotations to ignore unused arguments [luacheck]
author
Kim Alvefur
<zash@zash.se>
Tue, 19 Apr 2016 16:00:04 +0000
(18:00 +0200)
committer
Kim Alvefur
<zash@zash.se>
Tue, 19 Apr 2016 16:00:04 +0000
(18:00 +0200)
plugins/mod_bosh.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_bosh.lua
b/plugins/mod_bosh.lua
index 52841f0c6601edfeec95fb7ca967c08b0b3b08e5..5a5de78908e49282c9f6ffb28e36ce153ce48113 100644
(file)
--- a/
plugins/mod_bosh.lua
+++ b/
plugins/mod_bosh.lua
@@
-199,7
+199,7
@@
function handle_POST(event)
return tostring(close_reply) .. "\n";
end
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
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
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
return handleerr(err);
end