mod_s2s: Initiate connections
authorKim Alvefur <zash@zash.se>
Thu, 23 Feb 2012 23:03:28 +0100
changeset 4560 edd775310112
parent 4559 e2ee6aa50b6c
child 4561 429a007f70e8
mod_s2s: Initiate connections
plugins/s2s/mod_s2s.lua
--- 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;