Software /
code /
prosody
Diff
plugins/mod_bosh.lua @ 5635:84d3d7b69f9a
mod_bosh: rename variable for clarity
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 24 May 2013 18:38:36 +0100 |
parent | 5634:7298c9bbb30f |
child | 5640:4f1889672063 |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Fri May 24 18:37:07 2013 +0100 +++ b/plugins/mod_bosh.lua Fri May 24 18:38:36 2013 +0100 @@ -364,8 +364,8 @@ 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