potencial null ref
parent
517064121d
commit
55680c9cd6
|
@ -139,10 +139,12 @@ namespace OpenSim.Server.Base
|
||||||
startupConfig = Config.Configs["Startup"];
|
startupConfig = Config.Configs["Startup"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (startupConfig != null)
|
||||||
|
{
|
||||||
ConfigDirectory = startupConfig.GetString("ConfigDirectory", ".");
|
ConfigDirectory = startupConfig.GetString("ConfigDirectory", ".");
|
||||||
|
|
||||||
prompt = startupConfig.GetString("Prompt", prompt);
|
prompt = startupConfig.GetString("Prompt", prompt);
|
||||||
|
}
|
||||||
// Allow derived classes to load config before the console is opened.
|
// Allow derived classes to load config before the console is opened.
|
||||||
ReadConfig();
|
ReadConfig();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue