From bd800365ec7e3ffbde006e76f77d95e919b3f890 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 17 Sep 2003 07:27:11 +0000 Subject: [PATCH] Made sure to canonicalName the capabilities that are added. --- src/OwnerCommands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OwnerCommands.py b/src/OwnerCommands.py index 81b446489..17f4ea53b 100644 --- a/src/OwnerCommands.py +++ b/src/OwnerCommands.py @@ -95,7 +95,7 @@ class OwnerCommands(privmsgs.CapabilityCheckingPrivmsg): Sets the default capability to be allowed for any command. """ - capability = privmsgs.getArgs(args) + capability = callbacks.canonicalName(privmsgs.getArgs(args)) conf.defaultCapabilities.add(capability) irc.reply(msg, conf.replySuccess) @@ -104,7 +104,7 @@ class OwnerCommands(privmsgs.CapabilityCheckingPrivmsg): Unsets the default capability for any command. """ - capability = privmsgs.getArgs(args) + capability = callbacks.canonicalName(privmsgs.getArgs(args)) conf.defaultCapabilities.remove(capability) irc.reply(msg, conf.replySuccess)