mirror of
https://github.com/evennia/evennia.git
synced 2026-03-19 06:16:31 +01:00
evennia.commands.default.building.CmdDesc.edit_handler force access resitrations
CmdDesc edit_handler returns after access rejection
This commit is contained in:
parent
c2c6d8ad50
commit
df9903e97d
1 changed files with 1 additions and 0 deletions
|
|
@ -651,6 +651,7 @@ class CmdDesc(COMMAND_DEFAULT_CLASS):
|
|||
|
||||
if not (obj.access(self.caller, "control") or obj.access(self.caller, "edit")):
|
||||
self.caller.msg("You don't have permission to edit the description of %s." % obj.key)
|
||||
return
|
||||
|
||||
self.caller.db.evmenu_target = obj
|
||||
# launch the editor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue