From cc976f33de7451a6f59d9c2f34a311352992b4ba Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 27 Nov 2019 21:53:33 +0000 Subject: [PATCH] identified_account -> identified --- modules/channel_access.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/channel_access.py b/modules/channel_access.py index a7d75ac9..5502db9f 100644 --- a/modules/channel_access.py +++ b/modules/channel_access.py @@ -11,8 +11,7 @@ class Module(ModuleManager.BaseModule): access = target.get_user_setting(user.get_id(), "access", []) identified = self.exports.get_one("is-identified")(user) - return ((require_access in access or "*" in access - ) and identified_account) + return (require_access in access or "*" in access) and identified def _command_check(self, event, target, require_access): if event["is_channel"]: