From 3cf0d1871139e98e655705b2dc91f8771f43e171 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 29 May 2012 18:04:29 +0200 Subject: mod_s2s: Remove check for socket.tcp6() --- plugins/mod_s2s/s2sout.lib.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'plugins/mod_s2s/s2sout.lib.lua') 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 -- cgit v1.2.3