mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Set the defaultplugin of capabilities to be User.
This commit is contained in:
parent
8dea8d47ae
commit
27cb6d53c8
@ -86,7 +86,7 @@ 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 = {}
|
self.defaultPlugins = {'capabilities': 'User'}
|
||||||
|
|
||||||
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