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
commit9c0e66e2d3b6bf83df25fa31d5e6ef9707b9d805 (patch)
tree437939f458b6ccda5675ced8051acf53fe16a90c /net
parent78ccb156e89bfce17932052ece3f580d9b2ca8f5 (diff)
downloadprosody-9c0e66e2d3b6bf83df25fa31d5e6ef9707b9d805.tar.gz
prosody-9c0e66e2d3b6bf83df25fa31d5e6ef9707b9d805.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");