mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 22:47:16 +02:00
evennia.commands.default.building.CmdDesc.edit_handler force access resitrations
CmdDesc edit_handler returns after access rejection
This commit is contained in:
parent
43fd533f28
commit
67a518fd42
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