mod_bosh: Return true from send()
authorMatthew Wild <mwild1@gmail.com>
Sat, 08 Jan 2011 23:20:16 +0000
changeset 4102 9df4e61c260b
parent 4101 06778bc27d53
child 4103 c994524ef953
mod_bosh: Return true from send()
plugins/mod_bosh.lua
--- a/plugins/mod_bosh.lua	Sat Jan 08 23:09:21 2011 +0000
+++ b/plugins/mod_bosh.lua	Sat Jan 08 23:20:16 2011 +0000
@@ -274,6 +274,7 @@
 				t_insert(session.send_buffer, tostring(s));
 				log("debug", "There are now %d things in the send_buffer", #session.send_buffer);
 			end
+			return true;
 		end
 		
 		-- Send creation response