aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorMelanie2012-08-15 23:58:39 +0200
committerMelanie2012-08-15 23:58:39 +0200
commit684f8208d9ce882f29ded6350a7eb359055749dc (patch)
tree01cc8ea5eeb2acddb223939215c1fc9151b91aaf /OpenSim/Region/ScriptEngine/Shared
parentAdd a real_id field to the login response if impersonation is used. The wrapper (diff)
downloadopensim-SC_OLD-684f8208d9ce882f29ded6350a7eb359055749dc.zip
opensim-SC_OLD-684f8208d9ce882f29ded6350a7eb359055749dc.tar.gz
opensim-SC_OLD-684f8208d9ce882f29ded6350a7eb359055749dc.tar.bz2
opensim-SC_OLD-684f8208d9ce882f29ded6350a7eb359055749dc.tar.xz
Do a proper null check to avoid the overloaded operator == trap
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 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 42f77c6..c4109dd 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7785,7 +7785,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7785 foreach (SceneObjectPart part in parts) 7785 foreach (SceneObjectPart part in parts)
7786 remaining = SetPrimParams(part, rules); 7786 remaining = SetPrimParams(part, rules);
7787 7787
7788 while(remaining != null && remaining.Length > 2) 7788 while((object)remaining != null && remaining.Length > 2)
7789 { 7789 {
7790 linknumber = remaining.GetLSLIntegerItem(0); 7790 linknumber = remaining.GetLSLIntegerItem(0);
7791 rules = remaining.GetSublist(1,-1); 7791 rules = remaining.GetSublist(1,-1);