User: Fix authentication canceling after hostname/nick change.

This commit is contained in:
Valentin Lorentz 2014-03-25 14:35:06 +00:00
parent f3e4f097aa
commit edbde2235b

View File

@ -514,7 +514,7 @@ class User(callbacks.Plugin):
'submit it.'), Raise=True)
if self._tokens[token][0] != msg.prefix:
irc.error(_('Your hostname/nick changed in the process. '
'Authentication aborted.'))
'Authentication aborted.'), Raise=True)
verified = gpg.keyring.verify(data)
if verified and verified.valid:
keyid = verified.key_id