aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-06 23:14:39 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-06 23:14:39 +0000
commitb3e9fc629cab5f1da5b8e0b9b2b1673ea8499558 (patch)
treeaf79bcef984be46a84aadcfdb26e719b1aa412e6 /core/s2smanager.lua
parentbf7d712864d75ef280371ffb9fdca39e51d32405 (diff)
downloadprosody-b3e9fc629cab5f1da5b8e0b9b2b1673ea8499558.tar.gz
prosody-b3e9fc629cab5f1da5b8e0b9b2b1673ea8499558.zip
Remove print()s from sessionmanager and s2smanager
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 5eb28b50..ae834a9c 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -94,7 +94,7 @@ function new_incoming(conn)
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]+$"));