Changeset

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
parents 2099:73e083d01449
children 2101:74e90854a4dd
files core/s2smanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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