mirror of
https://github.com/evennia/evennia.git
synced 2026-03-21 15:26:30 +01:00
Update admin.py
This commit is contained in:
parent
f58a46260c
commit
4a04a3a76d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue