Added an AttributeError check in perm_above lockfunc, to catch instances of checking permissions before player logged in.

This commit is contained in:
Griatch 2012-09-30 16:01:21 +02:00
parent cdd24bd6f2
commit 57de91a234
2 changed files with 2 additions and 2 deletions

View file

@ -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])