* 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
					
				|  | @ -265,24 +265,6 @@ namespace OpenSim | ||||||
|                 config.Set("inventory_server_url", "http://127.0.0.1:" + InventoryConfig.DefaultHttpPort.ToString()); |                 config.Set("inventory_server_url", "http://127.0.0.1:" + InventoryConfig.DefaultHttpPort.ToString()); | ||||||
|                 config.Set("secure_inventory_server", "true"); |                 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; |             return DefaultConfig; | ||||||
|         } |         } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Justin Clarke Casey
						Justin Clarke Casey