mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 06:00:42 +01:00
NickAuth: Don't clear auth when joining unidentified
This commit is contained in:
parent
cb4f5a0a39
commit
7d09f50165
@ -200,9 +200,7 @@ class NickAuth(callbacks.Plugin):
|
|||||||
user = None
|
user = None
|
||||||
|
|
||||||
if user:
|
if user:
|
||||||
if account == '*':
|
if account != '*':
|
||||||
user.clearAuth()
|
|
||||||
else:
|
|
||||||
user.addAuth(msg.prefix)
|
user.addAuth(msg.prefix)
|
||||||
ircdb.users.setUser(user, flush=False)
|
ircdb.users.setUser(user, flush=False)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user