aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules/channel_access.py
diff options
context:
space:
mode:
authorGravatar jesopo2020-03-08 14:14:00 +0000
committerGravatar jesopo2020-03-08 14:14:00 +0000
commit49d9cbdb87a40cf58f1997914ca1b5033fcc13b3 (patch)
treef89b4b6d5acc0ec88f6e8b5e7445454c04797d93 /src/core_modules/channel_access.py
parentadd space between command and usage string (diff)
signature
exports.get_one() -> exports.get()
Diffstat (limited to 'src/core_modules/channel_access.py')
-rw-r--r--src/core_modules/channel_access.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_modules/channel_access.py b/src/core_modules/channel_access.py
index 662599e0..a8c371a8 100644
--- a/src/core_modules/channel_access.py
+++ b/src/core_modules/channel_access.py
@@ -21,7 +21,7 @@ class Module(ModuleManager.BaseModule):
user_access = target.get_user_setting(user.get_id(), "access", [])
- identified = self.exports.get_one("is-identified")(user)
+ identified = self.exports.get("is-identified")(user)
matched = list(set(required_access)&set(user_access))
return ("*" in user_access or matched) and identified