Changeset

4560:edd775310112

mod_s2s: Initiate connections
author Kim Alvefur <zash@zash.se>
date Thu, 23 Feb 2012 23:03:28 +0100
parents 4559:e2ee6aa50b6c
children 4561:429a007f70e8
files plugins/s2s/mod_s2s.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/s2s/mod_s2s.lua	Wed Feb 22 23:14:21 2012 +0100
+++ b/plugins/s2s/mod_s2s.lua	Thu Feb 23 23:03:28 2012 +0100
@@ -92,6 +92,7 @@
 	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;