Added an AttributeError check in perm_above lockfunc, to catch instances of checking permissions before player logged in.
This commit is contained in:
parent
cdd24bd6f2
commit
57de91a234
2 changed files with 2 additions and 2 deletions
|
|
@ -240,7 +240,7 @@ class ServerSession(Session):
|
|||
|
||||
for funcname, argtuple in data.items():
|
||||
# loop through the data, calling available functions.
|
||||
func = OOB_FUNC_MODULE.__dict__.get(funcname, None)
|
||||
rc func = OOB_FUNC_MODULE.__dict__.get(funcname, None)
|
||||
if func:
|
||||
try:
|
||||
outdata[funcname] = func(entity, *argtuple[0], **argtuple[1])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue