diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 7ea8b7a..7fa25f5 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -1965,7 +1965,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1965 | { | 1965 | { |
1966 | string retval = String.Empty; | 1966 | string retval = String.Empty; |
1967 | IConfigSource config = m_ScriptEngine.ConfigSource; | 1967 | IConfigSource config = m_ScriptEngine.ConfigSource; |
1968 | string url = config.Configs["GridInfo"].GetString("GridInfoURI", String.Empty); | 1968 | string url = null; |
1969 | |||
1970 | IConfig gridInfoConfig = config.Configs["GridInfo"]; | ||
1971 | |||
1972 | if (gridInfoConfig != null) | ||
1973 | url = gridInfoConfig.GetString("GridInfoURI", String.Empty); | ||
1969 | 1974 | ||
1970 | if (String.IsNullOrEmpty(url)) | 1975 | if (String.IsNullOrEmpty(url)) |
1971 | return "Configuration Error!"; | 1976 | return "Configuration Error!"; |