Made Admin the default for {add,remove}capability..

This commit is contained in:
Jeremy Fincher 2003-11-25 16:08:30 +00:00
parent e6ec71c990
commit c151c77b99

View File

@ -91,7 +91,9 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
def __init__(self):
callbacks.Privmsg.__init__(self)
setattr(self.__class__, 'exec', self.__class__._exec)
self.defaultPlugins = {'capabilities': 'User'}
self.defaultPlugins = {'capabilities': 'User',
'addcapability': 'Admin',
'removecapability': 'Admin'}
def disambiguate(self, irc, tokens, ambiguousCommands=None):
if ambiguousCommands is None: