aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorFlorian Zeitz <florob@babelmonkeys.de>2011-10-22 18:29:23 +0200
committerFlorian Zeitz <florob@babelmonkeys.de>2011-10-22 18:29:23 +0200
commit9be7bd1055aabdbbc663005ad11bc4b9cc1215f2 (patch)
tree437939f458b6ccda5675ced8051acf53fe16a90c /net
parent68d147d22fa577c53cc9bceaffd2d6fbe11741b0 (diff)
downloadprosody-9be7bd1055aabdbbc663005ad11bc4b9cc1215f2.tar.gz
prosody-9be7bd1055aabdbbc663005ad11bc4b9cc1215f2.zip
s2smanager, xmppserver_listener: Support for connecting to other servers via IPv6
Diffstat (limited to 'net')
-rw-r--r--net/xmppserver_listener.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xmppserver_listener.lua b/net/xmppserver_listener.lua
index 3af0b962..fe661033 100644
--- a/net/xmppserver_listener.lua
+++ b/net/xmppserver_listener.lua
@@ -178,7 +178,7 @@ end
function xmppserver.ondisconnect(conn, err)
local session = sessions[conn];
if session then
- if err and err ~= "closed" and session.srv_hosts then
+ if err and err ~= "closed" then
(session.log or log)("debug", "s2s connection attempt failed: %s", err);
if s2s_attempt_connect(session, err) then
(session.log or log)("debug", "...so we're going to try another target");