mod_bosh: Fix typo
authorMatthew Wild <mwild1@gmail.com>
Fri, 02 Sep 2016 23:24:40 +0100
changeset 7658 132819f409dc
parent 7657 b40776ee2aef
child 7659 296543556065
mod_bosh: Fix typo
plugins/mod_bosh.lua
--- a/plugins/mod_bosh.lua	Fri Sep 02 23:00:43 2016 +0100
+++ b/plugins/mod_bosh.lua	Fri Sep 02 23:24:40 2016 +0100
@@ -102,7 +102,7 @@
 end
 
 function check_inactive(now, session, context, reason)
-	if not sessions.destroyed then
+	if not session.destroyed then
 		sessions[context.sid] = nil;
 		sm_destroy_session(session, reason);
 	end