diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index d213c35..4b28808 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -8743,7 +8743,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
8743 | public LSL_String llGetSimulatorHostname() | 8743 | public LSL_String llGetSimulatorHostname() |
8744 | { | 8744 | { |
8745 | m_host.AddScriptLPS(1); | 8745 | m_host.AddScriptLPS(1); |
8746 | return System.Environment.MachineName; | 8746 | IUrlModule UrlModule = World.RequestModuleInterface<IUrlModule>(); |
8747 | return UrlModule.ExternalHostNameForLSL; | ||
8747 | } | 8748 | } |
8748 | 8749 | ||
8749 | // <summary> | 8750 | // <summary> |