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 | 4261dc5e768b4566e0a5e98f8d32b3238d423c3e (patch) | |
tree | e979cd304a546a207fe7863f3d27b37b157973cc | |
parent | 44c6dd6c7adea0c98c493b0fb3e1b7e8f294e079 (diff) | |
download | prosody-4261dc5e768b4566e0a5e98f8d32b3238d423c3e.tar.gz prosody-4261dc5e768b4566e0a5e98f8d32b3238d423c3e.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 |