identified_account -> identified
This commit is contained in:
parent
b6a02d2476
commit
cc976f33de
1 changed files with 1 additions and 2 deletions
|
@ -11,8 +11,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
access = target.get_user_setting(user.get_id(), "access", [])
|
access = target.get_user_setting(user.get_id(), "access", [])
|
||||||
identified = self.exports.get_one("is-identified")(user)
|
identified = self.exports.get_one("is-identified")(user)
|
||||||
|
|
||||||
return ((require_access in access or "*" in access
|
return (require_access in access or "*" in access) and identified
|
||||||
) and identified_account)
|
|
||||||
|
|
||||||
def _command_check(self, event, target, require_access):
|
def _command_check(self, event, target, require_access):
|
||||||
if event["is_channel"]:
|
if event["is_channel"]:
|
||||||
|
|
Loading…
Reference in a new issue