mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-10 20:22:36 +01:00
Fixed a bug that I thought was already fixed.
This commit is contained in:
parent
4a232f2da9
commit
ef5e7c8091
@ -128,7 +128,8 @@ def registerDefaultPlugin(command, plugin):
|
|||||||
command = callbacks.canonicalName(command)
|
command = callbacks.canonicalName(command)
|
||||||
conf.registerGlobalValue(conf.supybot.commands.defaultPlugins,
|
conf.registerGlobalValue(conf.supybot.commands.defaultPlugins,
|
||||||
command, registry.String(plugin, ''))
|
command, registry.String(plugin, ''))
|
||||||
conf.supybot.commands.defaultPlugins.get(command).setValue(plugin)
|
# This must be set, or the quotes won't be removed.
|
||||||
|
conf.supybot.commands.defaultPlugins.get(command).set(plugin)
|
||||||
|
|
||||||
registerDefaultPlugin('ignore', 'Admin')
|
registerDefaultPlugin('ignore', 'Admin')
|
||||||
registerDefaultPlugin('unignore', 'Admin')
|
registerDefaultPlugin('unignore', 'Admin')
|
||||||
|
Loading…
Reference in New Issue
Block a user