Software /
code /
prosody
Comparison
core/s2smanager.lua @ 977:6f0bdf9e4dfb
Remove more debugging code which was accidentally committed (don't trust hg)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 10 Apr 2009 10:38:04 +0100 |
parent | 976:17af9851c81d |
child | 995:a007d85b4045 |
comparison
equal
deleted
inserted
replaced
976:17af9851c81d | 977:6f0bdf9e4dfb |
---|---|
330 end | 330 end |
331 | 331 |
332 function destroy_session(session) | 332 function destroy_session(session) |
333 (session.log or log)("info", "Destroying "..tostring(session.direction).." session "..tostring(session.from_host).."->"..tostring(session.to_host)); | 333 (session.log or log)("info", "Destroying "..tostring(session.direction).." session "..tostring(session.from_host).."->"..tostring(session.to_host)); |
334 | 334 |
335 log("debug", debug.traceback()); | |
336 | |
337 if session.direction == "outgoing" then | 335 if session.direction == "outgoing" then |
338 hosts[session.from_host].s2sout[session.to_host] = nil; | 336 hosts[session.from_host].s2sout[session.to_host] = nil; |
339 bounce_sendq(session); | 337 bounce_sendq(session); |
340 elseif session.direction == "incoming" then | 338 elseif session.direction == "incoming" then |
341 incoming_s2s[session] = nil; | 339 incoming_s2s[session] = nil; |