fix srv l00kup

This commit is contained in:
Nikos Kouremenos 2005-08-24 13:04:42 +00:00
parent 1e2f27942b
commit e3733b0827
1 changed files with 1 additions and 4 deletions

View File

@ -62,10 +62,7 @@ class TCPsocket(PlugIn):
# SRV resolver # SRV resolver
if 'dns' in globals(): # if dnspython is available support SRV if 'dns' in globals(): # if dnspython is available support SRV
host, port = server host, port = server
possible_queries = [ possible_queries = ['_xmpp-client._tcp.' + host]
"_xmpp-client._tcp." + host,
"_jabber._tcp." + host,
]
for query in possible_queries: for query in possible_queries:
try: try: