summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slixmpp/util/sasl/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/util/sasl/client.py b/slixmpp/util/sasl/client.py
index d5daf4be..745eca20 100644
--- a/slixmpp/util/sasl/client.py
+++ b/slixmpp/util/sasl/client.py
@@ -75,7 +75,7 @@ def sasl_mech(score):
MECH_SEC_SCORES[mech.name] = mech.score
if mech.channel_binding:
MECHANISMS[mech.name + '-PLUS'] = mech
- MECH_SEC_SCORES[name] = mech.score + 10
+ MECH_SEC_SCORES[mech.name] = mech.score + 10
return mech
return register