aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index d7480e6..bd09534 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -1743,7 +1743,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1743 CheckThreatLevel(ThreatLevel.Moderate, "osGetGridNick"); 1743 CheckThreatLevel(ThreatLevel.Moderate, "osGetGridNick");
1744 m_host.AddScriptLPS(1); 1744 m_host.AddScriptLPS(1);
1745 string nick = "hippogrid"; 1745 string nick = "hippogrid";
1746 IConfigSource config = new IniConfigSource(Application.iniFilePath); 1746 IConfigSource config = m_ScriptEngine.ConfigSource;
1747 if (config.Configs["GridInfo"] != null) 1747 if (config.Configs["GridInfo"] != null)
1748 nick = config.Configs["GridInfo"].GetString("gridnick", nick); 1748 nick = config.Configs["GridInfo"].GetString("gridnick", nick);
1749 return nick; 1749 return nick;
@@ -1754,7 +1754,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1754 CheckThreatLevel(ThreatLevel.Moderate, "osGetGridName"); 1754 CheckThreatLevel(ThreatLevel.Moderate, "osGetGridName");
1755 m_host.AddScriptLPS(1); 1755 m_host.AddScriptLPS(1);
1756 string name = "the lost continent of hippo"; 1756 string name = "the lost continent of hippo";
1757 IConfigSource config = new IniConfigSource(Application.iniFilePath); 1757 IConfigSource config = m_ScriptEngine.ConfigSource;
1758 if (config.Configs["GridInfo"] != null) 1758 if (config.Configs["GridInfo"] != null)
1759 name = config.Configs["GridInfo"].GetString("gridname", name); 1759 name = config.Configs["GridInfo"].GetString("gridname", name);
1760 return name; 1760 return name;
@@ -1765,7 +1765,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1765 CheckThreatLevel(ThreatLevel.Moderate, "osGetGridLoginURI"); 1765 CheckThreatLevel(ThreatLevel.Moderate, "osGetGridLoginURI");
1766 m_host.AddScriptLPS(1); 1766 m_host.AddScriptLPS(1);
1767 string loginURI = "http://127.0.0.1:9000/"; 1767 string loginURI = "http://127.0.0.1:9000/";
1768 IConfigSource config = new IniConfigSource(Application.iniFilePath); 1768 IConfigSource config = m_ScriptEngine.ConfigSource;
1769 if (config.Configs["GridInfo"] != null) 1769 if (config.Configs["GridInfo"] != null)
1770 loginURI = config.Configs["GridInfo"].GetString("login", loginURI); 1770 loginURI = config.Configs["GridInfo"].GetString("login", loginURI);
1771 return loginURI; 1771 return loginURI;