aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-28 14:03:39 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-28 14:03:39 +0100
commit0438557094bd1d6405edbb1c93b48f06c4048f5d (patch)
treedb349db3d4a60ecca178557c7f9b9327c5d174cb /plugins/mod_bosh.lua
parentca695ad8df44ad83ad2eb9d327cf4552e2780638 (diff)
downloadprosody-0438557094bd1d6405edbb1c93b48f06c4048f5d.tar.gz
prosody-0438557094bd1d6405edbb1c93b48f06c4048f5d.zip
mod_bosh: Remove unused send_buffer variable
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r--plugins/mod_bosh.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index 5b7a24ab..24dc3755 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -262,7 +262,7 @@ function stream_callbacks.streamopened(context, attr)
session.log("debug", "BOSH session created for request from %s", session.ip);
log("info", "New BOSH session, assigned it sid '%s'", sid);
- local r, send_buffer = session.requests, session.send_buffer;
+ local r = session.requests;
function session.send(s)
-- We need to ensure that outgoing stanzas have the jabber:client xmlns
if s.attr and not s.attr.xmlns then