mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 02:49:27 +01:00
Fix defaultPlugin to work with jemfinch's refactoring.
This commit is contained in:
parent
f50edbe008
commit
9ed5efaaef
@ -290,7 +290,7 @@ class Owner(callbacks.Plugin):
|
||||
for (option, arg) in optlist:
|
||||
if option == 'remove':
|
||||
remove = True
|
||||
cbs = callbacks.findCallbackForCommand(irc, command)
|
||||
(_, cbs) = irc.findCallbacksForArgs([command])
|
||||
if remove:
|
||||
try:
|
||||
conf.supybot.commands.defaultPlugins.unregister(command)
|
||||
|
Loading…
Reference in New Issue
Block a user