API keys should have a value of [] when they're created, not True

This commit is contained in:
jesopo 2018-11-11 09:03:19 +00:00
parent b8e6bfd5e5
commit 57aa62cc9c

View file

@ -116,5 +116,5 @@ class Module(ModuleManager.BaseModule):
if event["args_split"]:
api_key = "%s-%s" % (event["args_split"][0], api_key)
self.bot.set_setting("api-key-%s" % api_key, True)
self.bot.set_setting("api-key-%s" % api_key, [])
event["stdout"].write(api_key)