aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-11-27 21:53:33 +0000
committerGravatar jesopo2019-11-27 21:53:33 +0000
commitcc976f33de7451a6f59d9c2f34a311352992b4ba (patch)
tree5de6d79e43d7f32529c7e261211173e26c9743b4 /modules
parentsupport IRCLine.parse_human() in perform.py (diff)
signature
identified_account -> identified
Diffstat (limited to 'modules')
-rw-r--r--modules/channel_access.py3
1 files changed, 1 insertions, 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"]: