mirror of https://github.com/Mikaela/Limnoria.git
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:
|
for (option, arg) in optlist:
|
||||||
if option == 'remove':
|
if option == 'remove':
|
||||||
remove = True
|
remove = True
|
||||||
cbs = callbacks.findCallbackForCommand(irc, command)
|
(_, cbs) = irc.findCallbacksForArgs([command])
|
||||||
if remove:
|
if remove:
|
||||||
try:
|
try:
|
||||||
conf.supybot.commands.defaultPlugins.unregister(command)
|
conf.supybot.commands.defaultPlugins.unregister(command)
|
||||||
|
|
Loading…
Reference in New Issue