diff options
author | Lance Stout <lancestout@gmail.com> | 2012-04-11 12:53:22 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-04-11 12:53:22 -0400 |
commit | 4b2b2d16b8f7999a7d6daee2f3e1811ba7d3c381 (patch) | |
tree | 94eb69ac9e9cdb4a4cbbe83c1e564c3a0c3a4fe0 /sleekxmpp/features | |
parent | 4cd5d3b3b5668e2b3806f06f5fd328ec5095271d (diff) | |
download | slixmpp-4b2b2d16b8f7999a7d6daee2f3e1811ba7d3c381.tar.gz slixmpp-4b2b2d16b8f7999a7d6daee2f3e1811ba7d3c381.tar.bz2 slixmpp-4b2b2d16b8f7999a7d6daee2f3e1811ba7d3c381.tar.xz slixmpp-4b2b2d16b8f7999a7d6daee2f3e1811ba7d3c381.zip |
Reset attempted SASL mech set after no suitable mechs are found.
Diffstat (limited to 'sleekxmpp/features')
-rw-r--r-- | sleekxmpp/features/feature_mechanisms/mechanisms.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |