From b51c94e65cb64f2d2392f5eff802e24d0ffc7b15 Mon Sep 17 00:00:00 2001 From: Griatch Date: Mon, 2 Oct 2017 23:45:07 +0200 Subject: [PATCH] Move noidletimeout default lock setting to the right place --- evennia/accounts/accounts.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/evennia/accounts/accounts.py b/evennia/accounts/accounts.py index a45e51d722..43dfe71795 100644 --- a/evennia/accounts/accounts.py +++ b/evennia/accounts/accounts.py @@ -566,7 +566,8 @@ class DefaultAccount(with_metaclass(TypeclassBase, AccountDB)): """ # A basic security setup lockstring = "examine:perm(Admin);edit:perm(Admin);" \ - "delete:perm(Admin);boot:perm(Admin);msg:all()" + "delete:perm(Admin);boot:perm(Admin);msg:all();" \ + "noidletimeout:perm(Builder) or perm(noidletimeout)" self.locks.add(lockstring) # The ooc account cmdset @@ -582,8 +583,7 @@ class DefaultAccount(with_metaclass(TypeclassBase, AccountDB)): """ # set an (empty) attribute holding the characters this account has lockstring = "attrread:perm(Admins);attredit:perm(Admins);" \ - "attrcreate:perm(Admins);" \ - "noidletimeout:perm(Builder) or perm(noidletimeout)" + "attrcreate:perm(Admins);" self.attributes.add("_playable_characters", [], lockstring=lockstring) self.attributes.add("_saved_protocol_flags", {}, lockstring=lockstring)