Diff

core/s2smanager.lua @ 2100:c8005be640b1

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 2090:7810648ea26d
child 2101:74e90854a4dd
line wrap: on
line diff
--- a/core/s2smanager.lua	Sat Nov 21 13:15:46 2009 +0000
+++ b/core/s2smanager.lua	Sat Nov 21 13:47:45 2009 +0000
@@ -391,7 +391,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