Software /
code /
prosody
Diff
core/s2smanager.lua @ 10304:56522bb3bca5
core.s2smanager: Fix traceback due to mixup with to/from
Forgot to swap to and from in 3123a13cf577
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 05 Oct 2019 17:09:24 +0200 |
parent | 10301:3123a13cf577 |
child | 10425:42cf93ff4618 |
line wrap: on
line diff
--- a/core/s2smanager.lua Sat Oct 05 16:55:58 2019 +0200 +++ b/core/s2smanager.lua Sat Oct 05 17:09:24 2019 +0200 @@ -94,7 +94,7 @@ session:bounce_sendq(reason); elseif session.direction == "incoming" then if session.outgoing then - hosts[session.from_host].s2sout[session.to_host] = nil; + hosts[session.to_host].s2sout[session.from_host] = nil; end incoming_s2s[session] = nil; end