mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 22:47:16 +02:00
Fixes @locks to block self-escalation. Fixed a few bugs in @reload that caused it to reload also unsafe modules.
This commit is contained in:
parent
bccd84e480
commit
de28b2d575
4 changed files with 22 additions and 6 deletions
|
|
@ -319,7 +319,7 @@ class LockHandler(object):
|
|||
else:
|
||||
return default
|
||||
|
||||
def check_lockstring(self, accessing_obj, accessed_obj, lockstring):
|
||||
def check_lockstring(self, accessing_obj, lockstring):
|
||||
"""
|
||||
Do a direct check against a lockstring ('atype:func()..'), without any
|
||||
intermediary storage on the accessed object (this can be left
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue