mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* 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
This commit is contained in:
@@ -265,24 +265,6 @@ namespace OpenSim
|
||||
config.Set("inventory_server_url", "http://127.0.0.1:" + InventoryConfig.DefaultHttpPort.ToString());
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user