diff options
Diffstat (limited to 'OpenSim/Grid/ScriptEngine/DotNetEngine/ScriptManager.cs')
-rw-r--r-- | OpenSim/Grid/ScriptEngine/DotNetEngine/ScriptManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Grid/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Grid/ScriptEngine/DotNetEngine/ScriptManager.cs index 2149bf0..85e9a9c 100644 --- a/OpenSim/Grid/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Grid/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -33,6 +33,7 @@ using System.Reflection; | |||
33 | using System.Runtime.Serialization.Formatters.Binary; | 33 | using System.Runtime.Serialization.Formatters.Binary; |
34 | using System.Threading; | 34 | using System.Threading; |
35 | using libsecondlife; | 35 | using libsecondlife; |
36 | using OpenSim.Framework; | ||
36 | using OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler; | 37 | using OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler; |
37 | using OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSL; | 38 | using OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSL; |
38 | using OpenSim.Region.Environment.Scenes; | 39 | using OpenSim.Region.Environment.Scenes; |
@@ -318,7 +319,7 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine | |||
318 | string text = "Error compiling script:\r\n" + e.Message.ToString(); | 319 | string text = "Error compiling script:\r\n" + e.Message.ToString(); |
319 | if (text.Length > 1500) | 320 | if (text.Length > 1500) |
320 | text = text.Substring(0, 1500); | 321 | text = text.Substring(0, 1500); |
321 | World.SimChat(Helpers.StringToField(text), 1, 0, m_host.AbsolutePosition, m_host.Name, m_host.UUID); | 322 | World.SimChat(Helpers.StringToField(text), ChatTypeEnum.Say, 0, m_host.AbsolutePosition, m_host.Name, m_host.UUID); |
322 | } | 323 | } |
323 | catch (Exception e2) | 324 | catch (Exception e2) |
324 | { | 325 | { |