mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-04-03 22:38:00 +02:00
NickAuth: Use only the account name, not the current nick.
This commit is contained in:
parent
1fdbc24714
commit
167e66ed11
@ -165,8 +165,6 @@ class NickAuth(callbacks.Plugin):
|
||||
except KeyError:
|
||||
return
|
||||
user = ircdb.users.getUserFromNick(irc.network, theiraccount)
|
||||
if not user:
|
||||
user = ircdb.users.getUserFromNick(irc.network, theirnick)
|
||||
if user:
|
||||
try:
|
||||
user.addAuth(prefix)
|
||||
|
Loading…
x
Reference in New Issue
Block a user