diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-01-12 02:59:00 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-01-12 02:59:00 +0000 |
commit | 7583e84ee13d63eecf25c9902e5cf4cdf7574192 (patch) | |
tree | 78f669ad30b7d35709bed053aff79a6783edfeb3 | |
parent | f5412a5f91b0a211bd74f708e417f7a9de2c338f (diff) | |
download | prosody-7583e84ee13d63eecf25c9902e5cf4cdf7574192.tar.gz prosody-7583e84ee13d63eecf25c9902e5cf4cdf7574192.zip |
BOSH: Make previous fix a bit more efficient
-rw-r--r-- | plugins/mod_bosh.lua | 2 |
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 |