From 7d09f501656865794ac835f87f34e8de9a0893d9 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Sun, 3 Aug 2014 14:35:53 +0200 Subject: [PATCH] NickAuth: Don't clear auth when joining unidentified --- plugins/NickAuth/plugin.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)