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 | 96e00dbde16467b681555003ed352c6d31a9c6e0 (patch) | |
tree | fd8bf5e390e8d761f4da18f8641cd831ef7e75c6 | |
parent | 68c140c7b45425d97d62ba99329eeeb56386a83b (diff) | |
download | prosody-96e00dbde16467b681555003ed352c6d31a9c6e0.tar.gz prosody-96e00dbde16467b681555003ed352c6d31a9c6e0.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 |