mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +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):
|
def __init__(self):
|
||||||
callbacks.Privmsg.__init__(self)
|
callbacks.Privmsg.__init__(self)
|
||||||
setattr(self.__class__, 'exec', self.__class__._exec)
|
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):
|
def disambiguate(self, irc, tokens, ambiguousCommands=None):
|
||||||
if ambiguousCommands is None:
|
if ambiguousCommands is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user