diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 9 |
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 | ||