# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1570288164 -7200
# Node ID 56522bb3bca59ee33d423d2bb081e5646025b770
# Parent  c434bff22b1484858bd4ed93dbf3c6a77a329bc4
core.s2smanager: Fix traceback due to mixup with to/from

Forgot to swap to and from in 3123a13cf577

diff -r c434bff22b14 -r 56522bb3bca5 core/s2smanager.lua
--- 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