mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01: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:
|
except KeyError:
|
||||||
return
|
return
|
||||||
user = ircdb.users.getUserFromNick(irc.network, theiraccount)
|
user = ircdb.users.getUserFromNick(irc.network, theiraccount)
|
||||||
if not user:
|
|
||||||
user = ircdb.users.getUserFromNick(irc.network, theirnick)
|
|
||||||
if user:
|
if user:
|
||||||
try:
|
try:
|
||||||
user.addAuth(prefix)
|
user.addAuth(prefix)
|
||||||
|
Loading…
Reference in New Issue
Block a user