Comparison

plugins/mod_s2s/mod_s2s.lua @ 5636:d323932ecf18

mod_s2s: Remove unnecessary debug message
author Matthew Wild <mwild1@gmail.com>
date Tue, 28 May 2013 16:10:22 +0100
parent 5594:ad66ee47b674
child 5638:c5b7f4858014
comparison
equal deleted inserted replaced
5635:84d3d7b69f9a 5636:d323932ecf18
614 if session then 614 if session then
615 sessions[conn] = nil; 615 sessions[conn] = nil;
616 if err and session.direction == "outgoing" and session.notopen then 616 if err and session.direction == "outgoing" and session.notopen then
617 (session.log or log)("debug", "s2s connection attempt failed: %s", err); 617 (session.log or log)("debug", "s2s connection attempt failed: %s", err);
618 if s2sout.attempt_connection(session, err) then 618 if s2sout.attempt_connection(session, err) then
619 (session.log or log)("debug", "...so we're going to try another target");
620 return; -- Session lives for now 619 return; -- Session lives for now
621 end 620 end
622 end 621 end
623 (session.log or log)("debug", "s2s disconnected: %s->%s (%s)", tostring(session.from_host), tostring(session.to_host), tostring(err or "connection closed")); 622 (session.log or log)("debug", "s2s disconnected: %s->%s (%s)", tostring(session.from_host), tostring(session.to_host), tostring(err or "connection closed"));
624 s2s_destroy_session(session, err); 623 s2s_destroy_session(session, err);