diff options
author | Kim Alvefur <zash@zash.se> | 2012-02-23 23:03:28 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-02-23 23:03:28 +0100 |
commit | 4db93777bdce477c99228fd690f5d3058ab9b9e7 (patch) | |
tree | 4bf3ab380b81c5488a0f7b9b20085fb8b2552182 /plugins/s2s/mod_s2s.lua | |
parent | bf57acbdca6f5d77ebe7eb32474d42c7ce5f85fb (diff) | |
download | prosody-4db93777bdce477c99228fd690f5d3058ab9b9e7.tar.gz prosody-4db93777bdce477c99228fd690f5d3058ab9b9e7.zip |
mod_s2s: Initiate connections
Diffstat (limited to 'plugins/s2s/mod_s2s.lua')
-rw-r--r-- | plugins/s2s/mod_s2s.lua | 1 |
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; |