aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 4278002..86509aa 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5173,8 +5173,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5173 // so the OR check may be a little redundant, but it's being done 5173 // so the OR check may be a little redundant, but it's being done
5174 // for completion and should LSL_Key ever be implemented 5174 // for completion and should LSL_Key ever be implemented
5175 // as it's own struct 5175 // as it's own struct
5176 // NOTE: 3rd case is needed because a NULL_KEY comes through as
5177 // type 'obj' and wrongly returns ""
5176 else if (!(src.Data[index] is LSL_String || 5178 else if (!(src.Data[index] is LSL_String ||
5177 src.Data[index] is LSL_Key)) 5179 src.Data[index] is LSL_Key ||
5180 src.Data[index] == "00000000-0000-0000-0000-000000000000"))
5178 { 5181 {
5179 return ""; 5182 return "";
5180 } 5183 }