aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-08 19:28:10 +0000
committerJustin Clarke Casey2009-01-08 19:28:10 +0000
commitaf49acd6cca7fe3609f2febabb9fcde37af412bf (patch)
tree91695f6e1626ccccd8623e8e3faa7b93aa105f04 /OpenSim/Region/ScriptEngine/Shared/Api
parent* minor: Remove now unused SendEstateMessage... method in Scene I forgot from... (diff)
downloadopensim-SC-af49acd6cca7fe3609f2febabb9fcde37af412bf.zip
opensim-SC-af49acd6cca7fe3609f2febabb9fcde37af412bf.tar.gz
opensim-SC-af49acd6cca7fe3609f2febabb9fcde37af412bf.tar.bz2
opensim-SC-af49acd6cca7fe3609f2febabb9fcde37af412bf.tar.xz
* refactor: move url sending from scene to DialogModule
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index f2a8474..34a3a26 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7799,9 +7799,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7799 public void llLoadURL(string avatar_id, string message, string url) 7799 public void llLoadURL(string avatar_id, string message, string url)
7800 { 7800 {
7801 m_host.AddScriptLPS(1); 7801 m_host.AddScriptLPS(1);
7802 UUID avatarId = new UUID(avatar_id); 7802
7803 m_ScriptEngine.World.SendUrlToUser(avatarId, m_host.Name, m_host.UUID, m_host.ObjectOwner, false, message, 7803 IDialogModule dm = World.RequestModuleInterface<IDialogModule>();
7804 url); 7804 if (null != dm)
7805 dm.SendUrlToUser(
7806 new UUID(avatar_id), m_host.Name, m_host.UUID, m_host.ObjectOwner, false, message, url);
7807
7805 // ScriptSleep(10000); 7808 // ScriptSleep(10000);
7806 } 7809 }
7807 7810