aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorBlueWall2012-05-23 15:07:03 -0400
committerBlueWall2012-05-23 15:08:39 -0400
commit682d4075e3fe7c52d4c29d00ba9dc0456b7322f3 (patch)
tree7d5950b3ab33f25ae742f7661136b55bc57654dc /OpenSim/Region/ScriptEngine
parentminor: Change [OBJECT COMMANDS MODULE] log strings to [REGION COMMANDS MODULE... (diff)
downloadopensim-SC_OLD-682d4075e3fe7c52d4c29d00ba9dc0456b7322f3.zip
opensim-SC_OLD-682d4075e3fe7c52d4c29d00ba9dc0456b7322f3.tar.gz
opensim-SC_OLD-682d4075e3fe7c52d4c29d00ba9dc0456b7322f3.tar.bz2
opensim-SC_OLD-682d4075e3fe7c52d4c29d00ba9dc0456b7322f3.tar.xz
Fix llGetSimulatorHostname to return configured hostname
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs3
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>