Diff

core/s2smanager.lua @ 2760:604db849f111

s2smanager: Don't tostring() the data before sending, sends2s already does this.
author Matthew Wild <mwild1@gmail.com>
date Sat, 21 Nov 2009 13:47:45 +0000
parent 2712:9c579864b20a
child 2780:f8232abcab2a
line wrap: on
line diff
--- a/core/s2smanager.lua	Thu Feb 25 17:54:23 2010 +0000
+++ b/core/s2smanager.lua	Sat Nov 21 13:47:45 2009 +0000
@@ -402,7 +402,7 @@
 		if send_buffer and #send_buffer > 0 then
 			log("debug", "Sending s2s send_buffer now...");
 			for i, data in ipairs(send_buffer) do
-				session.sends2s(tostring(data));
+				session.sends2s(data);
 				send_buffer[i] = nil;
 			end
 		end