From 344e33b8fc91876d073edd7ff55b3b99deb07c31 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Sat, 4 Oct 2008 19:17:39 +0000 Subject: * 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 --- OpenSim/Region/Application/OpenSimBase.cs | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'OpenSim/Region/Application') diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 5301e96..c1a5825 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -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; } -- cgit v1.1