aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/s2sout.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-05-29 18:04:29 +0200
committerKim Alvefur <zash@zash.se>2012-05-29 18:04:29 +0200
commite6bf33e872084aafa5919a57cf81df6bd63e509c (patch)
tree3ec71743fba5da57a962ded19ad2c885f7f4a16a /plugins/mod_s2s/s2sout.lib.lua
parentbb98bf4a58c1a26e127f4e0e6b548eb74df32ad4 (diff)
downloadprosody-e6bf33e872084aafa5919a57cf81df6bd63e509c.tar.gz
prosody-e6bf33e872084aafa5919a57cf81df6bd63e509c.zip
mod_s2s: Remove check for socket.tcp6()
Diffstat (limited to 'plugins/mod_s2s/s2sout.lib.lua')
-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