Update lock docstring. Closes #1563.

This commit is contained in:
Griatch 2018-02-03 14:51:49 +01:00
parent 7e1057e74e
commit 70dbaf8bf4

View file

@ -1807,13 +1807,13 @@ class CmdLock(ObjManipCommand):
For example: For example:
'get: id(25) or perm(Admin)' 'get: id(25) or perm(Admin)'
The 'get' access_type is checked by the get command and will The 'get' lock access_type is checked e.g. by the 'get' command.
an object locked with this string will only be possible to An object locked with this example lock will only be possible to pick up
pick up by Admins or by object with id=25. by Admins or by an object with id=25.
You can add several access_types after one another by separating You can add several access_types after one another by separating
them by ';', i.e: them by ';', i.e:
'get:id(25);delete:perm(Builder)' 'get:id(25); delete:perm(Builder)'
""" """
key = "@lock" key = "@lock"
aliases = ["@locks"] aliases = ["@locks"]