Software / code / prosody
Comparison
plugins/mod_bosh.lua @ 8489:fc8ef0943b60
mod_bosh: Remove unused variable [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 13 Dec 2017 15:30:11 +0100 |
| parent | 8185:e89320b8a789 |
| child | 8490:7540019afcd8 |
comparison
equal
deleted
inserted
replaced
| 8488:95706e0f19fc | 8489:fc8ef0943b60 |
|---|---|
| 64 end | 64 end |
| 65 return ip; | 65 return ip; |
| 66 end | 66 end |
| 67 | 67 |
| 68 local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat; | 68 local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat; |
| 69 local os_time = os.time; | |
| 70 | 69 |
| 71 -- All sessions, and sessions that have no requests open | 70 -- All sessions, and sessions that have no requests open |
| 72 local sessions = module:shared("sessions"); | 71 local sessions = module:shared("sessions"); |
| 73 | 72 |
| 74 -- Used to respond to idle sessions (those with waiting requests) | 73 -- Used to respond to idle sessions (those with waiting requests) |