Set the defaultplugin of capabilities to be User.

This commit is contained in:
Jeremy Fincher 2003-11-17 14:07:51 +00:00
parent 8dea8d47ae
commit 27cb6d53c8

View File

@ -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: