Actually save blacklist setting when reenabling a module
This commit is contained in:
parent
1fb4936fad
commit
30b7c2419d
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
raise utils.EventError("Module '%s' isn't disabled" % name)
|
raise utils.EventError("Module '%s' isn't disabled" % name)
|
||||||
|
|
||||||
blacklist.remove(name)
|
blacklist.remove(name)
|
||||||
|
self.bot.set_setting("module-blacklist", blacklist)
|
||||||
event["stdout"].write("Module '%s' has been enabled and can now "
|
event["stdout"].write("Module '%s' has been enabled and can now "
|
||||||
"be loaded" % name)
|
"be loaded" % name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue