aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
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
commitde91cf38b186b4cd02863e84f69c513b83c85ebb (patch)
treee979cd304a546a207fe7863f3d27b37b157973cc /plugins/mod_bosh.lua
parentaa2c7c578a713f6a6de80508badb2b832b968108 (diff)
downloadprosody-de91cf38b186b4cd02863e84f69c513b83c85ebb.tar.gz
prosody-de91cf38b186b4cd02863e84f69c513b83c85ebb.zip
mod_bosh: rename variable for clarity
Diffstat (limited to 'plugins/mod_bosh.lua')
-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