Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim
commit
00365fff02
|
@ -1739,7 +1739,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
CheckThreatLevel(ThreatLevel.Moderate, "osGetGridNick");
|
CheckThreatLevel(ThreatLevel.Moderate, "osGetGridNick");
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
string nick = "hippogrid";
|
string nick = "hippogrid";
|
||||||
IConfigSource config = new IniConfigSource(Application.iniFilePath);
|
IConfigSource config = m_ScriptEngine.ConfigSource;
|
||||||
if (config.Configs["GridInfo"] != null)
|
if (config.Configs["GridInfo"] != null)
|
||||||
nick = config.Configs["GridInfo"].GetString("gridnick", nick);
|
nick = config.Configs["GridInfo"].GetString("gridnick", nick);
|
||||||
return nick;
|
return nick;
|
||||||
|
@ -1750,7 +1750,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
CheckThreatLevel(ThreatLevel.Moderate, "osGetGridName");
|
CheckThreatLevel(ThreatLevel.Moderate, "osGetGridName");
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
string name = "the lost continent of hippo";
|
string name = "the lost continent of hippo";
|
||||||
IConfigSource config = new IniConfigSource(Application.iniFilePath);
|
IConfigSource config = m_ScriptEngine.ConfigSource;
|
||||||
if (config.Configs["GridInfo"] != null)
|
if (config.Configs["GridInfo"] != null)
|
||||||
name = config.Configs["GridInfo"].GetString("gridname", name);
|
name = config.Configs["GridInfo"].GetString("gridname", name);
|
||||||
return name;
|
return name;
|
||||||
|
@ -1761,7 +1761,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
CheckThreatLevel(ThreatLevel.Moderate, "osGetGridLoginURI");
|
CheckThreatLevel(ThreatLevel.Moderate, "osGetGridLoginURI");
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
string loginURI = "http://127.0.0.1:9000/";
|
string loginURI = "http://127.0.0.1:9000/";
|
||||||
IConfigSource config = new IniConfigSource(Application.iniFilePath);
|
IConfigSource config = m_ScriptEngine.ConfigSource;
|
||||||
if (config.Configs["GridInfo"] != null)
|
if (config.Configs["GridInfo"] != null)
|
||||||
loginURI = config.Configs["GridInfo"].GetString("login", loginURI);
|
loginURI = config.Configs["GridInfo"].GetString("login", loginURI);
|
||||||
return loginURI;
|
return loginURI;
|
||||||
|
|
Loading…
Reference in New Issue