plugins/mod_s2s/s2sout.lib.lua
changeset 4923 760a1f367f02
parent 4922 d1fdc545f8b2
child 4957 1722a6bea115
--- a/plugins/mod_s2s/s2sout.lib.lua	Tue May 29 18:02:48 2012 +0200
+++ b/plugins/mod_s2s/s2sout.lib.lua	Tue May 29 18:04:29 2012 +0200
@@ -282,10 +282,6 @@
 	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