aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs3
2 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index f40bf20..bb475a2 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -431,7 +431,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
431 ScenePresence sp = World.GetScenePresence(ownerID); 431 ScenePresence sp = World.GetScenePresence(ownerID);
432 if (sp != null && !sp.IsDeleted && sp.IsGod) 432 if (sp != null && !sp.IsDeleted && sp.IsGod)
433 { 433 {
434 return String.Empty; 434 return "Softfail";
435 } 435 }
436 } 436 }
437 437
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
index 9d72b1c..f4ea5e9 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
@@ -927,6 +927,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
927 927
928 if(e.InnerException != null && e.InnerException is ScriptException) 928 if(e.InnerException != null && e.InnerException is ScriptException)
929 { 929 {
930 if (e.InnerException.Message == "Softfail")
931 return;
932
930 string text = e.InnerException.Message + 933 string text = e.InnerException.Message +
931 "(script: " + ScriptName + 934 "(script: " + ScriptName +
932 " event: " + data.EventName + 935 " event: " + data.EventName +