aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_s2s/s2sout.lib.lua4
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