diff --git a/plugins/NickAuth/plugin.py b/plugins/NickAuth/plugin.py index ed8e6408a..59eaff8d8 100644 --- a/plugins/NickAuth/plugin.py +++ b/plugins/NickAuth/plugin.py @@ -200,9 +200,7 @@ class NickAuth(callbacks.Plugin): user = None if user: - if account == '*': - user.clearAuth() - else: + if account != '*': user.addAuth(msg.prefix) ircdb.users.setUser(user, flush=False)