only FORCE_SUCCESS for masterlogin when there's a permissions requirement
This commit is contained in:
parent
dc8c5ab7dc
commit
1e1eeb9b7f
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ class Module(ModuleManager.BaseModule):
|
|||
target.nickname)
|
||||
|
||||
def _check_command(self, event, permission, authenticated):
|
||||
if event["user"].admin_master:
|
||||
if event["user"].admin_master and (permission or authenticated):
|
||||
return utils.consts.PERMISSION_FORCE_SUCCESS, None
|
||||
|
||||
identity_mechanism = event["server"].get_setting("identity-mechanism",
|
||||
|
|
Loading…
Reference in a new issue