mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-03 16:39:25 +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)
|
conf.registerPlugin(module.__name__, currentValue=True)
|
||||||
|
|
||||||
plugins = getPlugins(pluginDirs + [plugin._pluginsDir])
|
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)
|
m = loadPlugin(s)
|
||||||
if m is not None:
|
if m is not None:
|
||||||
configurePlugin(m, advanced)
|
configurePlugin(m, advanced)
|
||||||
@ -689,6 +689,7 @@ def main():
|
|||||||
conf.registerPlugin('Config', True)
|
conf.registerPlugin('Config', True)
|
||||||
conf.registerPlugin('Misc', True)
|
conf.registerPlugin('Misc', True)
|
||||||
conf.registerPlugin('User', True)
|
conf.registerPlugin('User', True)
|
||||||
|
conf.registerPlugin('Utilities', True)
|
||||||
|
|
||||||
###
|
###
|
||||||
# Write the registry
|
# Write the registry
|
||||||
|
@ -676,7 +676,8 @@ registerGroup(supybot.commands, 'defaultPlugins',
|
|||||||
commands."""))
|
commands."""))
|
||||||
registerGlobalValue(supybot.commands.defaultPlugins, 'importantPlugins',
|
registerGlobalValue(supybot.commands.defaultPlugins, 'importantPlugins',
|
||||||
registry.SpaceSeparatedSetOfStrings(
|
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
|
_("""Determines what plugins automatically get precedence over all
|
||||||
other plugins when selecting a default plugin for a command. By
|
other plugins when selecting a default plugin for a command. By
|
||||||
default, this includes the standard loaded plugins. You probably
|
default, this includes the standard loaded plugins. You probably
|
||||||
|
Loading…
Reference in New Issue
Block a user