* 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 checking0.6.0-stable
							parent
							
								
									2fdb42aec0
								
							
						
					
					
						commit
						344e33b8fc
					
				|  | @ -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; | ||||
|         } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Justin Clarke Casey
						Justin Clarke Casey