aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorMelanie2009-12-15 15:46:18 +0000
committerMelanie2009-12-15 15:46:18 +0000
commitf8b6bc8d11c49d2415a00abbfbd2d53efd6d7e4a (patch)
tree2304fc33d0b0aca36cc5acff1298d649ae03315e /OpenSim/Region/ScriptEngine/Shared/Api
parentMerge branch 'master' into tests (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-f8b6bc8d11c49d2415a00abbfbd2d53efd6d7e4a.zip
opensim-SC_OLD-f8b6bc8d11c49d2415a00abbfbd2d53efd6d7e4a.tar.gz
opensim-SC_OLD-f8b6bc8d11c49d2415a00abbfbd2d53efd6d7e4a.tar.bz2
opensim-SC_OLD-f8b6bc8d11c49d2415a00abbfbd2d53efd6d7e4a.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-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;