NickAuth: Don't clear auth when joining unidentified

This commit is contained in:
nyuszika7h 2014-08-03 14:35:53 +02:00
parent cb4f5a0a39
commit 7d09f50165

View File

@ -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)