diff options
| author | 2018-11-11 09:03:19 +0000 | |
|---|---|---|
| committer | 2018-11-11 09:03:19 +0000 | |
| commit | 57aa62cc9c9e6bccbb854855a2980c64db408b3c (patch) | |
| tree | 7aee6dfafc4102a3a32441d813c3e1724f41aee3 /modules | |
| parent | Add a way of appending a comment on an API key, to denote what it's for. (diff) | |
| signature | ||
API keys should have a value of `[]` when they're created, not `True`
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/rest_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
