From 512f4e506314e29e27701f0d927dd3f1d01e4379 Mon Sep 17 00:00:00 2001 From: Griatch Date: Wed, 27 Nov 2013 12:05:06 +0100 Subject: [PATCH] Fixed an issue with @create re-adding a get:all() lock. --- src/commands/default/building.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/default/building.py b/src/commands/default/building.py index 82d229d021..8031e563ee 100644 --- a/src/commands/default/building.py +++ b/src/commands/default/building.py @@ -405,7 +405,7 @@ class CmdCreate(ObjManipCommand): # create object (if not a valid typeclass, the default # object typeclass will automatically be used) - lockstring = "control:id(%s);examine:perm(Builders);delete:id(%s) or perm(Wizards);get:all()" % (caller.id, caller.id) + lockstring = "control:id(%s);examine:perm(Builders);delete:id(%s) or perm(Wizards)" % (caller.id, caller.id) obj = create.create_object(typeclass, name, caller, home=caller, aliases=aliases, locks=lockstring, report_to=caller) if not obj: