Diff

core/s2smanager.lua @ 583:5821eaa80baa

Remove print()s from sessionmanager and s2smanager
author Matthew Wild <mwild1@gmail.com>
date Sat, 06 Dec 2008 23:14:39 +0000
parent 559:fa4a51fe6442
child 593:121d82243023
line wrap: on
line diff
--- a/core/s2smanager.lua	Sat Dec 06 23:13:38 2008 +0000
+++ b/core/s2smanager.lua	Sat Dec 06 23:14:39 2008 +0000
@@ -94,7 +94,7 @@
 	local session = { conn = conn, type = "s2sin_unauthed", direction = "incoming" };
 	if true then
 		session.trace = newproxy(true);
-		getmetatable(session.trace).__gc = function () open_sessions = open_sessions - 1; print("s2s session got collected, now "..open_sessions.." s2s sessions are allocated") end;
+		getmetatable(session.trace).__gc = function () open_sessions = open_sessions - 1; end;
 	end
 	open_sessions = open_sessions + 1;
 	local w, log = conn.write, logger_init("s2sin"..tostring(conn):match("[a-f0-9]+$"));