Changeset

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
parents 10303:c434bff22b14
children 10305:2fadbf209678
files core/s2smanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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