Mercurial > prosody-hg
comparison plugins/mod_bosh.lua @ 8490:7540019afcd8
mod_bosh: Ignore unused argument [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 13 Dec 2017 15:30:37 +0100 |
| parents | fc8ef0943b60 |
| children | f134be08a499 |
comparison
equal
deleted
inserted
replaced
| 8489:fc8ef0943b60 | 8490:7540019afcd8 |
|---|---|
| 98 session.bosh_wait_timer = nil; | 98 session.bosh_wait_timer = nil; |
| 99 end | 99 end |
| 100 end | 100 end |
| 101 end | 101 end |
| 102 | 102 |
| 103 function check_inactive(now, session, context, reason) | 103 function check_inactive(now, session, context, reason) -- luacheck: ignore 212/now |
| 104 if not session.destroyed then | 104 if not session.destroyed then |
| 105 sessions[context.sid] = nil; | 105 sessions[context.sid] = nil; |
| 106 sm_destroy_session(session, reason); | 106 sm_destroy_session(session, reason); |
| 107 end | 107 end |
| 108 end | 108 end |
