plugins/mod_bosh.lua

changeset 693
d8b793e612a9
parent 692
4a218377f4e3
child 701
dc67e3cffff4
--- 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

mercurial