minor: don't bother reparsing the sources for includes if ReadConfig() was unsuccessful

0.7.1-dev
Justin Clark-Casey (justincc) 2011-01-28 22:50:49 +00:00
parent 1fcb919798
commit a4acf485d7
1 changed files with 3 additions and 2 deletions

View File

@ -179,10 +179,11 @@ namespace OpenSim
for (int i = 0 ; i < sources.Count ; i++)
{
if (ReadConfig(sources[i]))
{
iniFileExists = true;
AddIncludes(sources);
}
}
if (!iniFileExists)
{