aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-12-13 15:30:37 +0100
committerKim Alvefur <zash@zash.se>2017-12-13 15:30:37 +0100
commitce9f53bf4896ba949b0a8f84824857389985f601 (patch)
tree9e927a5d45d6f91281261a556e3ffbe59521548b
parent6b553b2cfdd1c427ef9a16b214f7536525aa26da (diff)
downloadprosody-ce9f53bf4896ba949b0a8f84824857389985f601.tar.gz
prosody-ce9f53bf4896ba949b0a8f84824857389985f601.zip
mod_bosh: Ignore unused argument [luacheck]
-rw-r--r--plugins/mod_bosh.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index cc2ba6db..77b69c3e 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -100,7 +100,7 @@ function on_destroy_request(request)
end
end
-function check_inactive(now, session, context, reason)
+function check_inactive(now, session, context, reason) -- luacheck: ignore 212/now
if not session.destroyed then
sessions[context.sid] = nil;
sm_destroy_session(session, reason);