diff --git a/src/common/xmpp/auth_nb.py b/src/common/xmpp/auth_nb.py index 7d11ac562..f87a7aa4b 100644 --- a/src/common/xmpp/auth_nb.py +++ b/src/common/xmpp/auth_nb.py @@ -359,7 +359,7 @@ class NonBlockingNonSASL(PlugIn): ''' Caches username, password and resource for auth. ''' PlugIn.__init__(self) self.user = user - if self.password is None: + if password is None: self.password = '' else: self.password = password