Diff

plugins/mod_s2s/s2sout.lib.lua @ 4906:89df1f03546a

mod_s2s, s2sout.lib: Send stream header in onconnect()
author Matthew Wild <mwild1@gmail.com>
date Thu, 24 May 2012 03:08:42 +0100
parent 4832:6b3aec1e0d9f
child 4922:d1fdc545f8b2
line wrap: on
line diff
--- a/plugins/mod_s2s/s2sout.lib.lua	Thu May 24 02:55:37 2012 +0100
+++ b/plugins/mod_s2s/s2sout.lib.lua	Thu May 24 03:08:42 2012 +0100
@@ -314,8 +314,6 @@
 	-- otherwise it will assume it is a new incoming connection
 	s2s_listener.register_outgoing(conn, host_session);
 	
-	host_session:open_stream(from_host, to_host);
-	
 	log("debug", "Connection attempt in progress...");
 	return true;
 end