Set defaultcommand for help to be Misc.

This commit is contained in:
Jeremy Fincher 2004-01-20 22:12:47 +00:00
parent 03647ce53d
commit e88f2e5ba5

View File

@ -105,9 +105,10 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
callbacks.Privmsg.__init__(self) callbacks.Privmsg.__init__(self)
setattr(self.__class__, 'exec', self.__class__._exec) setattr(self.__class__, 'exec', self.__class__._exec)
self.defaultPlugins = {'list': 'Misc', self.defaultPlugins = {'list': 'Misc',
'help': 'Misc',
'capabilities': 'User', 'capabilities': 'User',
'addcapability': 'Admin', 'addcapability': 'Admin',
'removecapability': 'Admin'} 'removecapability': 'Admin',}
for (name, s) in registry._cache.iteritems(): for (name, s) in registry._cache.iteritems():
if name.startswith('supybot.plugins'): if name.startswith('supybot.plugins'):
try: try: