aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
index b593894..8329805 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
@@ -145,7 +145,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
145 LSLCompiler.PerformScriptCompile(Script, 145 LSLCompiler.PerformScriptCompile(Script,
146 assetID.ToString()); 146 assetID.ToString());
147 147
148 if (presence != null) 148 if (presence != null && (!postOnRez))
149 presence.ControllingClient.SendAgentAlertMessage( 149 presence.ControllingClient.SendAgentAlertMessage(
150 "Compile successful", false); 150 "Compile successful", false);
151 151
@@ -205,7 +205,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
205 } 205 }
206 catch (Exception e) // LEGIT: User Scripting 206 catch (Exception e) // LEGIT: User Scripting
207 { 207 {
208 if (presence != null) 208 if (presence != null && (!postOnRez))
209 presence.ControllingClient.SendAgentAlertMessage( 209 presence.ControllingClient.SendAgentAlertMessage(
210 "Script saved with errors, check debug window!", 210 "Script saved with errors, check debug window!",
211 false); 211 false);