Fix llDetectedName return value.

Astonishingly, llDetectedName returns NULL_KEY for invalid indices.
This commit is contained in:
Sei Lisa 2017-01-17 00:20:38 +01:00
parent d8cf384ccc
commit 65d3f1130a

View file

@ -71,7 +71,7 @@ def llDetectedName(idx, event=None):
assert isinteger(idx)
if 0 <= idx <= 15 and (event in DetectionEvents or event is None):
raise ELSLCantCompute
return u''
return NULL_KEY;
def llDetectedOwner(idx, event=None):
assert isinteger(idx)