Changeset

693:d8b793e612a9

BOSH: Make previous fix a bit more efficient
author Matthew Wild <mwild1@gmail.com>
date Mon, 12 Jan 2009 02:59:00 +0000
parents 692:4a218377f4e3
children 694:b97b05261156
files plugins/mod_bosh.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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