Diff

plugins/mod_bosh.lua @ 7655:132819f409dc

mod_bosh: Fix typo
author Matthew Wild <mwild1@gmail.com>
date Fri, 02 Sep 2016 23:24:40 +0100
parent 7654:b40776ee2aef
child 7656:296543556065
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