NickAuth: Use only the account name, not the current nick.

This commit is contained in:
Valentin Lorentz 2016-10-31 17:02:14 +01:00
parent 1fdbc24714
commit 167e66ed11
1 changed files with 0 additions and 2 deletions

View File

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