# HG changeset patch # User Kim Alvefur # Date 1657553533 -7200 # Node ID b15d3cf98ba6aaecc1f600765615d41a5fb137cb # Parent 1332c650400d5974202c629f3dd838e7d575e323# Parent 4c8941b5b05ebf1818d2191b1bdc695feeab8f7d Merge 0.12->trunk diff -r 1332c650400d -r b15d3cf98ba6 core/s2smanager.lua --- a/core/s2smanager.lua Sun Jul 10 16:10:29 2022 +0200 +++ b/core/s2smanager.lua Mon Jul 11 17:32:13 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;