# HG changeset patch # User Matthew Wild # Date 1231729140 0 # Node ID d8b793e612a9acde11037a10c0e2b77c298911dd # Parent 4a218377f4e3507a7a8a3508a4a3c1ef70a351e6 BOSH: Make previous fix a bit more efficient diff -r 4a218377f4e3 -r d8b793e612a9 plugins/mod_bosh.lua --- a/plugins/mod_bosh.lua Mon Jan 12 02:57:49 2009 +0000 +++ b/plugins/mod_bosh.lua Mon Jan 12 02:59:00 2009 +0000 @@ -247,7 +247,7 @@ 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