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 | 5ddde9afe607893a858d7249cb2fbf0b1b022f8f (patch) | |
tree | 4bf3ab380b81c5488a0f7b9b20085fb8b2552182 /plugins/s2s | |
parent | 364c78e2497fcc5d2e285970c48935e88a0261ff (diff) | |
download | prosody-5ddde9afe607893a858d7249cb2fbf0b1b022f8f.tar.gz prosody-5ddde9afe607893a858d7249cb2fbf0b1b022f8f.zip |
mod_s2s: Initiate connections
Diffstat (limited to 'plugins/s2s')
-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; |