branch | 0.12 |
changeset 12590 | 4c8941b5b05e |
parent 11904 | 60676b607b6d |
child 12976 | ead41e25ebc0 |
--- a/core/s2smanager.lua Mon May 30 17:34:58 2022 +0200 +++ b/core/s2smanager.lua Mon Jun 27 01:22:36 2022 +0200 @@ -94,7 +94,7 @@ hosts[session.from_host].s2sout[session.to_host] = nil; session:bounce_sendq(bounce_reason or reason); elseif session.direction == "incoming" then - if session.outgoing then + if session.outgoing and hosts[session.to_host].s2sout[session.from_host] == session then hosts[session.to_host].s2sout[session.from_host] = nil; end incoming_s2s[session] = nil;