diff options
author | Kim Alvefur <zash@zash.se> | 2012-05-29 18:04:29 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-05-29 18:04:29 +0200 |
commit | 3cf0d1871139e98e655705b2dc91f8771f43e171 (patch) | |
tree | 3ec71743fba5da57a962ded19ad2c885f7f4a16a | |
parent | c2a5ceb53acfc2bfc6665a32be9e27a36fcc5a4a (diff) | |
download | prosody-3cf0d1871139e98e655705b2dc91f8771f43e171.tar.gz prosody-3cf0d1871139e98e655705b2dc91f8771f43e171.zip |
mod_s2s: Remove check for socket.tcp6()
-rw-r--r-- | plugins/mod_s2s/s2sout.lib.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/mod_s2s/s2sout.lib.lua b/plugins/mod_s2s/s2sout.lib.lua index 3b05b4b9..48a49036 100644 --- a/plugins/mod_s2s/s2sout.lib.lua +++ b/plugins/mod_s2s/s2sout.lib.lua @@ -282,10 +282,6 @@ function s2sout.make_connect(host_session, connect_host, connect_port) if connect_host.proto == "IPv4" then conn, handler = socket.tcp(); else - if not socket.tcp6 then - log("warn", "Could not connect to "..to_host..". Your version of lua-socket does not support IPv6"); - return false, "no-ipv6"; - end conn, handler = socket.tcp6(); end |