* minor: both OpenSimBase and the Voice and RemoteAdmin modules were checking whether any config was set

* Resolve redundancy by removing the OpenSimBase check - if modules are recieve nini config directly they should probably be the ones to do the checking
0.6.0-stable
Justin Clarke Casey 2008-10-04 19:17:39 +00:00
parent 2fdb42aec0
commit 344e33b8fc
1 changed files with 0 additions and 18 deletions

View File

@ -266,24 +266,6 @@ namespace OpenSim
config.Set("secure_inventory_server", "true");
}
{
IConfig config = DefaultConfig.Configs["RemoteAdmin"];
if (null == config)
config = DefaultConfig.AddConfig("RemoteAdmin");
config.Set("enabled", "false");
}
{
IConfig config = DefaultConfig.Configs["Voice"];
if (null == config)
config = DefaultConfig.AddConfig("Voice");
config.Set("enabled", "false");
}
return DefaultConfig;
}