diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-12-06 23:14:39 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-12-06 23:14:39 +0000 |
commit | b3e9fc629cab5f1da5b8e0b9b2b1673ea8499558 (patch) | |
tree | af79bcef984be46a84aadcfdb26e719b1aa412e6 /core/sessionmanager.lua | |
parent | bf7d712864d75ef280371ffb9fdca39e51d32405 (diff) | |
download | prosody-b3e9fc629cab5f1da5b8e0b9b2b1673ea8499558.tar.gz prosody-b3e9fc629cab5f1da5b8e0b9b2b1673ea8499558.zip |
Remove print()s from sessionmanager and s2smanager
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r-- | core/sessionmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 74a17fe5..a597e724 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -52,7 +52,7 @@ function new_session(conn) local session = { conn = conn, priority = 0, type = "c2s_unauthed", conntime = gettime() }; if true then session.trace = newproxy(true); - getmetatable(session.trace).__gc = function () open_sessions = open_sessions - 1; print("Session got collected, now "..open_sessions.." sessions are allocated") end; + getmetatable(session.trace).__gc = function () open_sessions = open_sessions - 1; end; end open_sessions = open_sessions + 1; log("info", "open sessions now: ".. open_sessions); |