Software /
code /
prosody
Changeset
995:a007d85b4045
core.s2smanager: Don't initiate dialback if we don't have a connection yet
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 12 Apr 2009 13:14:45 +0100 |
parents | 994:8fd4efc3ed96 |
children | 996:6fb96dffb2c1 |
files | core/s2smanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Sun Apr 12 03:06:22 2009 +0100 +++ b/core/s2smanager.lua Sun Apr 12 13:14:45 2009 +0100 @@ -77,7 +77,7 @@ -- We have a connection to this host already if host.type == "s2sout_unauthed" and data.name ~= "db:verify" and ((not data.xmlns) or data.xmlns == "jabber:client" or data.xmlns == "jabber:server") then (host.log or log)("debug", "trying to send over unauthed s2sout to "..to_host); - if not host.notopen and not host.dialback_key then + if not host.notopen and not host.dialback_key and host.sends2s then host.log("debug", "dialback had not been initiated"); initiate_dialback(host); end