Changeset

7655:132819f409dc

mod_bosh: Fix typo
author Matthew Wild <mwild1@gmail.com>
date Fri, 02 Sep 2016 23:24:40 +0100
parents 7654:b40776ee2aef
children 7656:296543556065
files plugins/mod_bosh.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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