Update admin.py

This commit is contained in:
homeofpoe 2022-10-27 11:28:58 -07:00 committed by GitHub
parent f58a46260c
commit 4a04a3a76d

View file

@ -481,7 +481,7 @@ class CmdPerm(COMMAND_DEFAULT_CLASS):
locktype = "edit" if accountmode else "control"
if not obj.access(caller, locktype):
accountstr = 'account' if accountmode else 'object'
caller.msg(f"You are not allowed to edit this {accountmode}'s permissions.")
caller.msg(f"You are not allowed to edit this {accountstr}'s permissions.")
return
caller_result = []