aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2016-09-02 23:24:40 +0100
committerMatthew Wild <mwild1@gmail.com>2016-09-02 23:24:40 +0100
commit96e00dbde16467b681555003ed352c6d31a9c6e0 (patch)
treefd8bf5e390e8d761f4da18f8641cd831ef7e75c6 /plugins/mod_bosh.lua
parent68c140c7b45425d97d62ba99329eeeb56386a83b (diff)
downloadprosody-96e00dbde16467b681555003ed352c6d31a9c6e0.tar.gz
prosody-96e00dbde16467b681555003ed352c6d31a9c6e0.zip
mod_bosh: Fix typo
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