aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-03-30 09:04:33 +0100
committerKim Alvefur <zash@zash.se>2019-03-30 09:04:33 +0100
commita23b9fd0ea3b3404861fd56db9d99d9b7e32f3fd (patch)
treee3541f05b7264b54c4cf9012a1361e25a993cb26 /core/s2smanager.lua
parent19de299874a63dd0f5143844f638b879d571b17f (diff)
downloadprosody-a23b9fd0ea3b3404861fd56db9d99d9b7e32f3fd.tar.gz
prosody-a23b9fd0ea3b3404861fd56db9d99d9b7e32f3fd.zip
core.s2smanager: Fix previous commit (Thanks Martin)
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 46dcd108..684bb94e 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -32,7 +32,7 @@ local function new_incoming(conn)
sessionlib.set_logger(host_session);
sessionlib.set_conn(host_session, conn);
host_session.direction = "incoming";
- host_session.session.hosts = {};
+ host_session.hosts = {};
incoming_s2s[host_session] = true;
return host_session;
end