From 09e53d5efe59520f2f067b7e61fa0d4142697361 Mon Sep 17 00:00:00 2001 From: Griatch Date: Tue, 1 Sep 2020 20:40:48 +0200 Subject: [PATCH] Default to attrread as locktype for Attribute read access. Resolve #2185 --- evennia/typeclasses/attributes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/typeclasses/attributes.py b/evennia/typeclasses/attributes.py index bc6b61dccf..16779ba4a8 100644 --- a/evennia/typeclasses/attributes.py +++ b/evennia/typeclasses/attributes.py @@ -186,7 +186,7 @@ class Attribute(SharedMemoryModel): def __repr__(self): return "%s(%s)" % (self.db_key, self.id) - def access(self, accessing_obj, access_type="read", default=False, **kwargs): + def access(self, accessing_obj, access_type="attrread", default=False, **kwargs): """ Determines if another object has permission to access.