mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Set defaultcommand for help to be Misc.
This commit is contained in:
parent
03647ce53d
commit
e88f2e5ba5
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user