# HG changeset patch # User Matthew Wild <mwild1@gmail.com> # Date 1239356284 -3600 # Node ID 6f0bdf9e4dfb9e2512ba2435cb88ded9b31a1800 # Parent 17af9851c81d96d36a88d2c8e0ec0ddbcf79dfc7 Remove more debugging code which was accidentally committed (don't trust hg) diff -r 17af9851c81d -r 6f0bdf9e4dfb core/s2smanager.lua --- a/core/s2smanager.lua Fri Apr 10 10:36:01 2009 +0100 +++ b/core/s2smanager.lua Fri Apr 10 10:38:04 2009 +0100 @@ -332,8 +332,6 @@ function destroy_session(session) (session.log or log)("info", "Destroying "..tostring(session.direction).." session "..tostring(session.from_host).."->"..tostring(session.to_host)); - log("debug", debug.traceback()); - if session.direction == "outgoing" then hosts[session.from_host].s2sout[session.to_host] = nil; bounce_sendq(session); diff -r 17af9851c81d -r 6f0bdf9e4dfb util/logger.lua --- a/util/logger.lua Fri Apr 10 10:36:01 2009 +0100 +++ b/util/logger.lua Fri Apr 10 10:38:04 2009 +0100 @@ -49,8 +49,6 @@ if not log_this then return function () end end end - if name == "modulemanager" or name:match("^c2s") or name == "datamanager" then return function () end; end - --name = nil; -- While this line is not commented, will automatically fill in file/line number info local namelen = #name; return function (level, message, ...)