# HG changeset patch # User Kim Alvefur # Date 1338307469 -7200 # Node ID 760a1f367f02dfee3dfb2045ac92abec0d5fe1cd # Parent d1fdc545f8b2a61a0722053657ec6f402d2c68ad mod_s2s: Remove check for socket.tcp6() diff -r d1fdc545f8b2 -r 760a1f367f02 plugins/mod_s2s/s2sout.lib.lua --- 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