mirror of
https://github.com/evennia/evennia.git
synced 2026-03-17 05:16:31 +01:00
Changed default puppet lock to puppet:pperm(Immortals) by default. Resolves #521.
This commit is contained in:
parent
b092d29989
commit
bb8c9ce2ab
1 changed files with 1 additions and 3 deletions
|
|
@ -526,7 +526,6 @@ class Object(TypeClass):
|
|||
# commands may set this (create an item and you should be its
|
||||
# controller, for example)
|
||||
|
||||
dbref = self.dbobj.dbref
|
||||
self.locks.add(";".join([
|
||||
"control:perm(Immortals)", # edit locks/permissions, delete
|
||||
"examine:perm(Builders)", # examine properties
|
||||
|
|
@ -536,8 +535,7 @@ class Object(TypeClass):
|
|||
"get:all()", # pick up object
|
||||
"call:true()", # allow to call commands on this object
|
||||
"tell:perm(Wizards)", # allow emits to this object
|
||||
# restricts puppeting of this object
|
||||
"puppet:pid(%s) or perm(Immortals) or pperm(Immortals)" % dbref]))
|
||||
"puppet:pperm(Immortals)"])) # lock down puppeting only to staff by default
|
||||
|
||||
def basetype_posthook_setup(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue