diff options
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 6c1fee5..1084174 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -490,9 +490,6 @@ namespace OpenSim | |||
490 | } | 490 | } |
491 | else | 491 | else |
492 | { | 492 | { |
493 | // IConfig c = DefaultConfig().Configs[cmdparams[1]]; | ||
494 | // if (c == null) | ||
495 | // c = DefaultConfig().AddConfig(cmdparams[1]); | ||
496 | IConfig c; | 493 | IConfig c; |
497 | IConfigSource source = new IniConfigSource(); | 494 | IConfigSource source = new IniConfigSource(); |
498 | c = source.AddConfig(cmdparams[1]); | 495 | c = source.AddConfig(cmdparams[1]); |
@@ -516,7 +513,7 @@ namespace OpenSim | |||
516 | } | 513 | } |
517 | else | 514 | else |
518 | { | 515 | { |
519 | IConfig c = m_config.Source.Configs[cmdparams[1]]; // DefaultConfig().Configs[cmdparams[1]]; | 516 | IConfig c = m_config.Source.Configs[cmdparams[1]]; |
520 | if (c == null) | 517 | if (c == null) |
521 | { | 518 | { |
522 | m_log.Info("Section \"" + cmdparams[1] + "\" does not exist."); | 519 | m_log.Info("Section \"" + cmdparams[1] + "\" does not exist."); |