aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 20b7ffea8..7471286ca 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -94,7 +94,7 @@ local function destroy_session(session, reason)
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