aboutsummaryrefslogtreecommitdiff
path: root/modules/rest_api.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-07 12:46:52 +0100
committerGravatar jesopo2019-10-07 12:46:52 +0100
commit50d1eb6b8c8d4333fc50695521054443bc191cc0 (patch)
treeab6bd9479231feaa02d24924d42223c78b0876f5 /modules/rest_api.py
parentparse out content_type in Response ctor (diff)
signature
combine find_setting() and find_setting_prefix() on user/channel/server/bot
Diffstat (limited to 'modules/rest_api.py')
-rw-r--r--modules/rest_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest_api.py b/modules/rest_api.py
index a1fb66bf..abf947e9 100644
--- a/modules/rest_api.py
+++ b/modules/rest_api.py
@@ -203,7 +203,7 @@ class Module(ModuleManager.BaseModule):
alias_lower = alias.lower()
api_keys = {}
- for key, value in self.bot.find_settings_prefix("api-key-"):
+ for key, value in self.bot.find_settings(prefix="api-key-"):
api_keys[key] = value
if alias and value["comment"].lower() == alias_lower:
alias = value["comment"]