LevelUpload setting is now on [Permissions], so look for it there also

master
UbitUmarov 2020-03-20 10:54:10 +00:00
parent 010f091dd4
commit 9ce4b8914b
1 changed files with 8 additions and 0 deletions

View File

@ -160,6 +160,14 @@ namespace OpenSim.Region.ClientStack.Linden
{ {
m_levelUpload = sconfig.GetInt("LevelUpload", 0); m_levelUpload = sconfig.GetInt("LevelUpload", 0);
} }
if (m_levelUpload == 0)
{
IConfig pconfig = config.Configs["Permissions"];
if (pconfig != null)
{
m_levelUpload = pconfig.GetInt("LevelUpload", 0);
}
}
IConfig appearanceConfig = config.Configs["Appearance"]; IConfig appearanceConfig = config.Configs["Appearance"];
if (appearanceConfig != null) if (appearanceConfig != null)