NickAuth: Fix argument order in @remove. Closes GH-530.

This commit is contained in:
Valentin Lorentz 2013-12-24 16:31:45 +00:00
parent 162b9ef709
commit 47409b11a0

View File

@ -94,7 +94,7 @@ class NickAuth(callbacks.Plugin):
"""
network = network.network or irc.network
user = user or ircdb.users.getUser(msg.prefix)
self._check_auth(user, irc, msg)
self._check_auth(irc, msg, user)
try:
user.removeNick(network, nick)
except KeyError: