aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-07 20:29:09 +0000
committerJustin Clarke Casey2009-01-07 20:29:09 +0000
commit1aa9e6342829201e29290638fbb23baae8702193 (patch)
treef3bfd2b5cc94da63349119c8c9dd90f4a8cf7640 /OpenSim/Region/ScriptEngine/Shared
parent* minor: Remove mono compiler warnings from WindModule (diff)
downloadopensim-SC-1aa9e6342829201e29290638fbb23baae8702193.zip
opensim-SC-1aa9e6342829201e29290638fbb23baae8702193.tar.gz
opensim-SC-1aa9e6342829201e29290638fbb23baae8702193.tar.bz2
opensim-SC-1aa9e6342829201e29290638fbb23baae8702193.tar.xz
* Move general alert code to DialogModule.
* Should be a clean build - last failure looked like a mantis hiccup
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-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)