diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Server/Base/ServicesServerBase.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Server/Base/ServicesServerBase.cs b/OpenSim/Server/Base/ServicesServerBase.cs index 1f2c54d..a7cffd7 100644 --- a/OpenSim/Server/Base/ServicesServerBase.cs +++ b/OpenSim/Server/Base/ServicesServerBase.cs | |||
@@ -139,10 +139,12 @@ namespace OpenSim.Server.Base | |||
139 | startupConfig = Config.Configs["Startup"]; | 139 | startupConfig = Config.Configs["Startup"]; |
140 | } | 140 | } |
141 | 141 | ||
142 | ConfigDirectory = startupConfig.GetString("ConfigDirectory", "."); | 142 | if (startupConfig != null) |
143 | 143 | { | |
144 | prompt = startupConfig.GetString("Prompt", prompt); | 144 | ConfigDirectory = startupConfig.GetString("ConfigDirectory", "."); |
145 | 145 | ||
146 | prompt = startupConfig.GetString("Prompt", prompt); | ||
147 | } | ||
146 | // Allow derived classes to load config before the console is opened. | 148 | // Allow derived classes to load config before the console is opened. |
147 | ReadConfig(); | 149 | ReadConfig(); |
148 | 150 | ||