mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Add Utilities as a default plugin.
This commit is contained in:
parent
d498f0d510
commit
d1aa36126d
@ -501,7 +501,7 @@ def main():
|
||||
conf.registerPlugin(module.__name__, currentValue=True)
|
||||
|
||||
plugins = getPlugins(pluginDirs + [plugin._pluginsDir])
|
||||
for s in ('Admin', 'User', 'Channel', 'Misc', 'Config'):
|
||||
for s in ('Admin', 'User', 'Channel', 'Misc', 'Config', 'Utilities'):
|
||||
m = loadPlugin(s)
|
||||
if m is not None:
|
||||
configurePlugin(m, advanced)
|
||||
@ -689,6 +689,7 @@ def main():
|
||||
conf.registerPlugin('Config', True)
|
||||
conf.registerPlugin('Misc', True)
|
||||
conf.registerPlugin('User', True)
|
||||
conf.registerPlugin('Utilities', True)
|
||||
|
||||
###
|
||||
# Write the registry
|
||||
|
@ -676,7 +676,8 @@ registerGroup(supybot.commands, 'defaultPlugins',
|
||||
commands."""))
|
||||
registerGlobalValue(supybot.commands.defaultPlugins, 'importantPlugins',
|
||||
registry.SpaceSeparatedSetOfStrings(
|
||||
['Admin', 'Channel', 'Config', 'Misc', 'Owner', 'Plugin', 'User'],
|
||||
['Admin', 'Channel', 'Config', 'Misc', 'Owner', 'Plugin', 'User',
|
||||
'Utilities'],
|
||||
_("""Determines what plugins automatically get precedence over all
|
||||
other plugins when selecting a default plugin for a command. By
|
||||
default, this includes the standard loaded plugins. You probably
|
||||
|
Loading…
Reference in New Issue
Block a user