org/sonews/config/Config.java
changeset 34 9f0b95aafaa3
parent 32 3af4237e4a15
     1.1 --- a/org/sonews/config/Config.java	Sun Aug 29 17:03:21 2010 +0200
     1.2 +++ b/org/sonews/config/Config.java	Sun Aug 29 17:04:25 2010 +0200
     1.3 @@ -132,10 +132,10 @@
     1.4    {
     1.5      String val = CommandLineConfig.getInstance().get(key, null);
     1.6  
     1.7 -    if(val == null && maxLevel <= LEVEL_FILE)
     1.8 +    if(val == null && maxLevel >= LEVEL_FILE)
     1.9      {
    1.10        val = FileConfig.getInstance().get(key, null);
    1.11 -      if(val == null && maxLevel <= LEVEL_BACKEND)
    1.12 +      if(val == null && maxLevel >= LEVEL_BACKEND)
    1.13        {
    1.14          val = BackendConfig.getInstance().get(key, def);
    1.15        }