mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-10-08 21:07:30 +02: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:
|
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…
x
Reference in New Issue
Block a user