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
commit5b1691012fd47880d5285fe3092d4a48e3616791 (patch)
treedb349db3d4a60ecca178557c7f9b9327c5d174cb /plugins/mod_bosh.lua
parent5f2142959cb9fefda450efce5b90bfb184d89fa5 (diff)
downloadprosody-5b1691012fd47880d5285fe3092d4a48e3616791.tar.gz
prosody-5b1691012fd47880d5285fe3092d4a48e3616791.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