mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
Fix llGetSimulatorHostname to return configured hostname
This commit is contained in:
@@ -8743,7 +8743,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
public LSL_String llGetSimulatorHostname()
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
return System.Environment.MachineName;
|
||||
IUrlModule UrlModule = World.RequestModuleInterface<IUrlModule>();
|
||||
return UrlModule.ExternalHostNameForLSL;
|
||||
}
|
||||
|
||||
// <summary>
|
||||
|
||||
Reference in New Issue
Block a user