Merge branch 'CmdDesc_edit_not_force_access_restrictions' of https://github.com/davewiththenicehat/evennia into davewiththenicehat-CmdDesc_edit_not_force_access_restrictions
This commit is contained in:
commit
d8720b1151
1 changed files with 1 additions and 0 deletions
|
|
@ -652,6 +652,7 @@ class CmdDesc(COMMAND_DEFAULT_CLASS):
|
||||||
|
|
||||||
if not (obj.access(self.caller, "control") or obj.access(self.caller, "edit")):
|
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)
|
self.caller.msg("You don't have permission to edit the description of %s." % obj.key)
|
||||||
|
return
|
||||||
|
|
||||||
self.caller.db.evmenu_target = obj
|
self.caller.db.evmenu_target = obj
|
||||||
# launch the editor
|
# launch the editor
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue