aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-05-24 18:38:36 +0100
committerMatthew Wild <mwild1@gmail.com>2013-05-24 18:38:36 +0100
commit4261dc5e768b4566e0a5e98f8d32b3238d423c3e (patch)
treee979cd304a546a207fe7863f3d27b37b157973cc /plugins
parent44c6dd6c7adea0c98c493b0fb3e1b7e8f294e079 (diff)
downloadprosody-4261dc5e768b4566e0a5e98f8d32b3238d423c3e.tar.gz
prosody-4261dc5e768b4566e0a5e98f8d32b3238d423c3e.zip
mod_bosh: rename variable for clarity
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_bosh.lua4
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