plugins/mod_bosh.lua
changeset 5658 97c1c1bdd7bc
parent 5654 020c5cd6eb28
child 5660 df077bc8f019
--- a/plugins/mod_bosh.lua	Fri Jun 07 20:59:43 2013 +0200
+++ b/plugins/mod_bosh.lua	Fri Jun 07 16:26:08 2013 -0400
@@ -352,7 +352,7 @@
 		local features = st.stanza("stream:features");
 		hosts[session.host].events.fire_event("stream-features", { origin = session, features = features });
 		fire_event("stream-features", session, features);
-		session.send(tostring(features));
+		session.send(features);
 		session.notopen = nil;
 	end
 end