From 57aa62cc9c9e6bccbb854855a2980c64db408b3c Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 11 Nov 2018 09:03:19 +0000 Subject: [PATCH] API keys should have a value of `[]` when they're created, not `True` --- modules/rest_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rest_api.py b/modules/rest_api.py index 02a4e124..19720445 100644 --- a/modules/rest_api.py +++ b/modules/rest_api.py @@ -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)