aboutsummaryrefslogtreecommitdiffstats
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
parentcore.sessionmanager: Use util.session to create sessions (diff)
downloadprosody-a23b9fd0ea3b3404861fd56db9d99d9b7e32f3fd.tar.xz
prosody-a23b9fd0ea3b3404861fd56db9d99d9b7e32f3fd.zip
core.s2smanager: Fix previous commit (Thanks Martin)
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 46dcd108c..684bb94e0 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