diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-05-24 18:38:36 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-05-24 18:38:36 +0100 |
commit | de91cf38b186b4cd02863e84f69c513b83c85ebb (patch) | |
tree | e979cd304a546a207fe7863f3d27b37b157973cc | |
parent | aa2c7c578a713f6a6de80508badb2b832b968108 (diff) | |
download | prosody-de91cf38b186b4cd02863e84f69c513b83c85ebb.tar.gz prosody-de91cf38b186b4cd02863e84f69c513b83c85ebb.zip |
mod_bosh: rename variable for clarity
-rw-r--r-- | plugins/mod_bosh.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index bd39daa5..57abebb2 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -364,8 +364,8 @@ function stream_callbacks.handlestanza(context, stanza) end end -function stream_callbacks.streamclosed(request) - local session = sessions[request.sid]; +function stream_callbacks.streamclosed(context) + local session = sessions[context.sid]; if session then session.bosh_processing = false; if #session.send_buffer > 0 then |