summaryrefslogtreecommitdiff
path: root/sleekxmpp/thirdparty/suelta/mechanisms/scram_hmac.py
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/thirdparty/suelta/mechanisms/scram_hmac.py')
-rw-r--r--sleekxmpp/thirdparty/suelta/mechanisms/scram_hmac.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/thirdparty/suelta/mechanisms/scram_hmac.py b/sleekxmpp/thirdparty/suelta/mechanisms/scram_hmac.py
index e0020329..b70ac9a4 100644
--- a/sleekxmpp/thirdparty/suelta/mechanisms/scram_hmac.py
+++ b/sleekxmpp/thirdparty/suelta/mechanisms/scram_hmac.py
@@ -32,7 +32,7 @@ class SCRAM_HMAC(Mechanism):
name = name[:-5]
self._cb = True
- self.hash = hash(self.name[6:])
+ self.hash = hash(name[6:])
if self.hash is None:
raise SASLCancelled(self.sasl, self)
if not self.sasl.tls_active():