aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-01-12 02:59:00 +0000
committerMatthew Wild <mwild1@gmail.com>2009-01-12 02:59:00 +0000
commit7583e84ee13d63eecf25c9902e5cf4cdf7574192 (patch)
tree78f669ad30b7d35709bed053aff79a6783edfeb3 /plugins/mod_bosh.lua
parentf5412a5f91b0a211bd74f708e417f7a9de2c338f (diff)
downloadprosody-7583e84ee13d63eecf25c9902e5cf4cdf7574192.tar.gz
prosody-7583e84ee13d63eecf25c9902e5cf4cdf7574192.zip
BOSH: Make previous fix a bit more efficient
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 2fa73fa3..2cf35524 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -247,7 +247,7 @@ function on_timer()
inactive_sessions[session] = nil;
sm_destroy_session(session, "BOSH client silent for over "..session.bosh_max_inactive.." seconds");
end
- elseif not session.type then
+ else
inactive_sessions[session] = nil;
end
end