mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Made Admin the default for {add,remove}capability..
This commit is contained in:
parent
e6ec71c990
commit
c151c77b99
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user