Software /
code /
prosody
Changeset
12588:b15d3cf98ba6
Merge 0.12->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 11 Jul 2022 17:32:13 +0200 |
parents | 12587:1332c650400d (current diff) 12586:4c8941b5b05e (diff) |
children | 12589:39ae08180c81 |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;