Fix error with DNS selection.

Missed a renaming of 'priority' to 'item'
This commit is contained in:
Lance Stout 2011-07-27 18:40:57 -07:00
parent 45412fd404
commit ad032e5ed7

View file

@ -183,7 +183,7 @@ class ClientXMPP(BaseXMPP):
picked = random.randint(0, intmax)
for item in items:
if picked <= priority:
if picked <= item:
address = addresses[item]
break