aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-09-07 17:32:55 +0200
committerKim Alvefur <zash@zash.se>2019-09-07 17:32:55 +0200
commitb2c215307e175582368a579cca3c37402c77d307 (patch)
treee7cdf98c887c4e811cffa1030bf118b94e05f6ea
parente20cc123daf6cb7aa911d3826eb61ab62dcaa9d9 (diff)
downloadprosody-b2c215307e175582368a579cca3c37402c77d307.tar.gz
prosody-b2c215307e175582368a579cca3c37402c77d307.zip
core.s2smanager: Add map of names authenticate for remote on s2sout for parity with s2sin
Making s2sin and -out look more alike in preparation for bidi support
-rw-r--r--core/s2smanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 45993fd2..971ccc5c 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -47,6 +47,7 @@ local function new_outgoing(from_host, to_host)
host_session.notopen = true;
host_session.direction = "outgoing";
host_session.outgoing = true;
+ host_session.hosts = {};
hosts[from_host].s2sout[to_host] = host_session;
return host_session;
end