Resolve merge conflicts
This commit is contained in:
commit
1c9ca4b11c
5 changed files with 216 additions and 114 deletions
|
|
@ -1952,8 +1952,8 @@ class CmdLock(ObjManipCommand):
|
|||
caller.msg("You need 'control' access to change this type of lock.")
|
||||
return
|
||||
|
||||
if not has_control_access or not obj.access(caller, "edit"):
|
||||
caller.msg("You need 'edit' access to view or delete lock on this object.")
|
||||
if not (has_control_access or obj.access(caller, "edit")):
|
||||
caller.msg("You are not allowed to do that.")
|
||||
return
|
||||
|
||||
lockdef = obj.locks.get(access_type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue