aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commitf2ae066a6250ecd0dc0bcfdf31848879cf9e2b18 (patch)
treefd8bf5e390e8d761f4da18f8641cd831ef7e75c6 /plugins
parentb0cec25c89cb802b8fa10ca8fbcd0db83114daac (diff)
downloadprosody-f2ae066a6250ecd0dc0bcfdf31848879cf9e2b18.tar.gz
prosody-f2ae066a6250ecd0dc0bcfdf31848879cf9e2b18.zip
mod_bosh: Fix typo
Diffstat (limited to 'plugins')
-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