mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
NickAuth: Fix argument order in @remove. Closes GH-530.
This commit is contained in:
parent
162b9ef709
commit
47409b11a0
@ -94,7 +94,7 @@ class NickAuth(callbacks.Plugin):
|
|||||||
"""
|
"""
|
||||||
network = network.network or irc.network
|
network = network.network or irc.network
|
||||||
user = user or ircdb.users.getUser(msg.prefix)
|
user = user or ircdb.users.getUser(msg.prefix)
|
||||||
self._check_auth(user, irc, msg)
|
self._check_auth(irc, msg, user)
|
||||||
try:
|
try:
|
||||||
user.removeNick(network, nick)
|
user.removeNick(network, nick)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
Loading…
Reference in New Issue
Block a user