API keys should have a value of []
when they're created, not True
This commit is contained in:
parent
b8e6bfd5e5
commit
57aa62cc9c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue