diff options
author | Matthew Wild <mwild1@gmail.com> | 2016-09-02 23:24:40 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2016-09-02 23:24:40 +0100 |
commit | f2ae066a6250ecd0dc0bcfdf31848879cf9e2b18 (patch) | |
tree | fd8bf5e390e8d761f4da18f8641cd831ef7e75c6 | |
parent | b0cec25c89cb802b8fa10ca8fbcd0db83114daac (diff) | |
download | prosody-f2ae066a6250ecd0dc0bcfdf31848879cf9e2b18.tar.gz prosody-f2ae066a6250ecd0dc0bcfdf31848879cf9e2b18.zip |
mod_bosh: Fix typo
-rw-r--r-- | plugins/mod_bosh.lua | 2 |
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 |