plugins/mod_bosh.lua
changeset 4769 c91bb217bf79
parent 4768 d232bd25ae58
child 4880 6d96e2e717c1
--- 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