NickAuth: Fix NameError caused by e732931688.

This commit is contained in:
Valentin Lorentz 2018-01-25 14:09:19 +01:00
parent 7e98802809
commit 5daaa14825

View File

@ -203,7 +203,7 @@ class NickAuth(callbacks.Plugin):
return
# irc.nick 1 user ip host nick status account gecos
(n, t, user, ip, host, nick, status, account, gecos) = msg.args
(n, t, ident, ip, host, nick, status, account, gecos) = msg.args
prefix = '%s!%s@%s' % (nick, ident, host)
user = ircdb.users.getUserFromNick(irc.network, account)