diff options
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 60c6127..427fc70 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -240,7 +240,16 @@ namespace OpenSim | |||
240 | { | 240 | { |
241 | config.Set("enabled", "false"); | 241 | config.Set("enabled", "false"); |
242 | } | 242 | } |
243 | |||
244 | if (DefaultConfig.Configs["Voice"] == null) | ||
245 | DefaultConfig.AddConfig("Voice"); | ||
246 | config = DefaultConfig.Configs["Voice"]; | ||
247 | if (config != null) | ||
248 | { | ||
249 | config.Set("enabled", "false"); | ||
250 | } | ||
243 | return DefaultConfig; | 251 | return DefaultConfig; |
252 | |||
244 | } | 253 | } |
245 | 254 | ||
246 | protected void ReadConfigSettings() | 255 | protected void ReadConfigSettings() |