Software /
code /
prosody
Changeset
4923:760a1f367f02
mod_s2s: Remove check for socket.tcp6()
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 29 May 2012 18:04:29 +0200 |
parents | 4922:d1fdc545f8b2 |
children | 4924:d8b9fe5900a2 4926:58714123f600 5020:ef1eb65acbba |
files | plugins/mod_s2s/s2sout.lib.lua |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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