aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
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
commit94c9012f75b6381d70b3fe71fb4ec3485dbd6e8f (patch)
tree9e927a5d45d6f91281261a556e3ffbe59521548b /plugins/mod_bosh.lua
parent0114f1dd6a2a70a56bc081fe3259bd9d7b46f959 (diff)
downloadprosody-94c9012f75b6381d70b3fe71fb4ec3485dbd6e8f.tar.gz
prosody-94c9012f75b6381d70b3fe71fb4ec3485dbd6e8f.zip
mod_bosh: Ignore unused argument [luacheck]
Diffstat (limited to 'plugins/mod_bosh.lua')
-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);