aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/s2sout.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-05-24 03:08:42 +0100
committerMatthew Wild <mwild1@gmail.com>2012-05-24 03:08:42 +0100
commit3160a4357aa8af9ec9d652d3a57bf79a0c2c6631 (patch)
treecc31fb5c6a6b4518f87f3b1524af3ec7471dd23b /plugins/mod_s2s/s2sout.lib.lua
parentb9971d5e6c14823531a5129303bd80541f00791a (diff)
downloadprosody-3160a4357aa8af9ec9d652d3a57bf79a0c2c6631.tar.gz
prosody-3160a4357aa8af9ec9d652d3a57bf79a0c2c6631.zip
mod_s2s, s2sout.lib: Send stream header in onconnect()
Diffstat (limited to 'plugins/mod_s2s/s2sout.lib.lua')
-rw-r--r--plugins/mod_s2s/s2sout.lib.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_s2s/s2sout.lib.lua b/plugins/mod_s2s/s2sout.lib.lua
index 2ddc9299..94445ea2 100644
--- a/plugins/mod_s2s/s2sout.lib.lua
+++ b/plugins/mod_s2s/s2sout.lib.lua
@@ -314,8 +314,6 @@ function s2sout.make_connect(host_session, connect_host, connect_port)
-- 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