Software /
code /
prosody
Diff
plugins/mod_bosh.lua @ 4769:c91bb217bf79
mod_bosh: Remove unused send_buffer variable
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Apr 2012 14:03:39 +0100 |
parent | 4768:d232bd25ae58 |
child | 4880:6d96e2e717c1 |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Sat Apr 28 13:58:37 2012 +0100 +++ b/plugins/mod_bosh.lua Sat Apr 28 14:03:39 2012 +0100 @@ -262,7 +262,7 @@ 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