# HG changeset patch # User Kim Alvefur # Date 1330034608 -3600 # Node ID edd775310112da8fa9ae33577b650ed9c86ab760 # Parent e2ee6aa50b6c1d9fcfa53d4c71aff07e37f638a7 mod_s2s: Initiate connections diff -r e2ee6aa50b6c -r edd775310112 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;