From 4facd7e5ba395a751951b17fcf044ee70e0c47f9 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 2 Dec 2004 04:51:16 +0000 Subject: [PATCH] Fix0red disable. --- src/Owner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Owner.py b/src/Owner.py index 59458c962..db3862b26 100644 --- a/src/Owner.py +++ b/src/Owner.py @@ -712,9 +712,10 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg): irc.error('%s is not a command in the %s plugin.' % (command, plugin.name())) return + self._disabled.add(command, plugin.name()) else: conf.supybot.commands.disabled().add(command) - self._disabled.add(command, plugin) + self._disabled.add(command) irc.replySuccess() disable = wrap(disable, [optional('plugin'), 'commandName'])