From 9ed5efaaef504d98819a2b4ec0122c504d702aba Mon Sep 17 00:00:00 2001 From: James Vega Date: Fri, 18 Feb 2005 13:40:05 +0000 Subject: [PATCH] Fix defaultPlugin to work with jemfinch's refactoring. --- plugins/Owner/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Owner/plugin.py b/plugins/Owner/plugin.py index d16187583..8ebffa155 100644 --- a/plugins/Owner/plugin.py +++ b/plugins/Owner/plugin.py @@ -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)