aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r--plugins/mod_bosh.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index 9e3bea8f..39d5a8be 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -102,7 +102,7 @@ function on_destroy_request(request)
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