Diff

plugins/mod_bosh.lua @ 4102:9df4e61c260b

mod_bosh: Return true from send()
author Matthew Wild <mwild1@gmail.com>
date Sat, 08 Jan 2011 23:20:16 +0000
parent 4066:461812921f8f
child 4223:9fb6e8ec15ed
child 4308:50e1a3dc2b50
line wrap: on
line diff
--- 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