Diff

plugins/mod_bosh.lua @ 5670:9218a0e81a41

mod_bosh: Fix global write
author Matthew Wild <mwild1@gmail.com>
date Fri, 07 Jun 2013 17:47:27 +0100
parent 5650:aa3465183b01
child 5671:d5059e73db53
line wrap: on
line diff
--- a/plugins/mod_bosh.lua	Mon Jun 10 14:35:35 2013 +0200
+++ b/plugins/mod_bosh.lua	Fri Jun 07 17:47:27 2013 +0100
@@ -292,7 +292,8 @@
 					body_attr.hold = tostring(session.bosh_hold);
 					body_attr.authid = sid;
 					body_attr.secure = "true";
-					body_attr.ver  = '1.6'; from = session.host;
+					body_attr.ver  = '1.6';
+					body_attr.from = session.host;
 					body_attr["xmlns:xmpp"] = "urn:xmpp:xbosh";
 					body_attr["xmpp:version"] = "1.0";
 				end