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/OSSL_Api.cs6
1 files changed, 5 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 8a380ad..a9ee88a 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -329,7 +329,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
329 CheckThreatLevel(ThreatLevel.VeryHigh, "osRegionNotice"); 329 CheckThreatLevel(ThreatLevel.VeryHigh, "osRegionNotice");
330 330
331 m_host.AddScriptLPS(1); 331 m_host.AddScriptLPS(1);
332 World.SendGeneralAlert(msg); 332
333 IDialogModule dm = World.RequestModuleInterface<IDialogModule>();
334
335 if (dm != null)
336 dm.SendGeneralAlert(msg);
333 } 337 }
334 338
335 public void osSetRot(UUID target, Quaternion rotation) 339 public void osSetRot(UUID target, Quaternion rotation)