From 4b2b2d16b8f7999a7d6daee2f3e1811ba7d3c381 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 11 Apr 2012 12:53:22 -0400 Subject: Reset attempted SASL mech set after no suitable mechs are found. --- sleekxmpp/features/feature_mechanisms/mechanisms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sleekxmpp/features/feature_mechanisms/mechanisms.py b/sleekxmpp/features/feature_mechanisms/mechanisms.py index 6f01cb14..b7af81d0 100644 --- a/sleekxmpp/features/feature_mechanisms/mechanisms.py +++ b/sleekxmpp/features/feature_mechanisms/mechanisms.py @@ -134,6 +134,7 @@ class FeatureMechanisms(BasePlugin): else: log.error("No appropriate login method.") self.xmpp.event("no_auth", direct=True) + self.attempted_mechs = set() self.xmpp.disconnect() return True -- cgit v1.2.3