Add Utilities as a default plugin.

This commit is contained in:
Valentin Lorentz 2014-02-21 23:55:41 +00:00
parent d498f0d510
commit d1aa36126d
2 changed files with 4 additions and 2 deletions

View File

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

View File

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