aboutsummaryrefslogtreecommitdiffstats
path: root/core
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
commite7fce52802163ca1c042bd1a369b81c775a72980 (patch)
treee3541f05b7264b54c4cf9012a1361e25a993cb26 /core
parentae1009d110d6abd42ba1f8c1698811ff947e99f1 (diff)
downloadprosody-e7fce52802163ca1c042bd1a369b81c775a72980.tar.gz
prosody-e7fce52802163ca1c042bd1a369b81c775a72980.zip
core.s2smanager: Fix previous commit (Thanks Martin)
Diffstat (limited to 'core')
-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