Fixed a bug that I thought was already fixed.

This commit is contained in:
Jeremy Fincher 2004-04-29 11:38:02 +00:00
parent 4a232f2da9
commit ef5e7c8091

View File

@ -128,7 +128,8 @@ def registerDefaultPlugin(command, plugin):
command = callbacks.canonicalName(command)
conf.registerGlobalValue(conf.supybot.commands.defaultPlugins,
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('unignore', 'Admin')