Diff

core/s2smanager.lua @ 543:cf6e19ea1cbc

Fix logger ids for c2s and s2sout
author Matthew Wild <mwild1@gmail.com>
date Thu, 04 Dec 2008 16:41:32 +0000
parent 519:cccd610a0ef9
child 544:efde848869c5
line wrap: on
line diff
--- a/core/s2smanager.lua	Thu Dec 04 15:48:19 2008 +0000
+++ b/core/s2smanager.lua	Thu Dec 04 16:41:32 2008 +0000
@@ -108,7 +108,7 @@
 		
 		local log;
 		do
-			local conn_name = "s2sout"..tostring(conn):match("[a-f0-9]*$");
+			local conn_name = "s2sout"..tostring(host_session):match("[a-f0-9]*$");
 			log = logger_init(conn_name);
 			host_session.log = log;
 		end