aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-02-23 23:03:28 +0100
committerKim Alvefur <zash@zash.se>2012-02-23 23:03:28 +0100
commit4db93777bdce477c99228fd690f5d3058ab9b9e7 (patch)
tree4bf3ab380b81c5488a0f7b9b20085fb8b2552182
parentbf57acbdca6f5d77ebe7eb32474d42c7ce5f85fb (diff)
downloadprosody-4db93777bdce477c99228fd690f5d3058ab9b9e7.tar.gz
prosody-4db93777bdce477c99228fd690f5d3058ab9b9e7.zip
mod_s2s: Initiate connections
-rw-r--r--plugins/s2s/mod_s2s.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/s2s/mod_s2s.lua b/plugins/s2s/mod_s2s.lua
index 7c0a99de..bb1a6dd7 100644
--- a/plugins/s2s/mod_s2s.lua
+++ b/plugins/s2s/mod_s2s.lua
@@ -92,6 +92,7 @@ function send_to_host(from_host, to_host, stanza)
else
log("debug", "opening a new outgoing connection for this stanza");
local host_session = s2s_new_outgoing(from_host, to_host);
+ s2sout.initiate_connection(host_session);
-- Store in buffer
host_session.bounce_sendq = bounce_sendq;