Adds delete() lock to characters by default.

This commit is contained in:
Johnny 2018-11-07 20:44:48 +00:00
parent 612c672ff6
commit 7be0ef60ad
3 changed files with 35 additions and 3 deletions

View file

@ -1894,7 +1894,7 @@ class DefaultCharacter(DefaultObject):
"""
# lockstring of newly created rooms, for easy overloading.
# Will be formatted with the appropriate attributes.
lockstring = "puppet:id({character_id}) or pid({account_id}) or perm(Developer) or pperm(Developer)"
lockstring = "puppet:id({character_id}) or pid({account_id}) or perm(Developer) or pperm(Developer);delete:id({account_id}) or perm(Admin)"
@classmethod
def create(cls, key, account, **kwargs):