Fix: read range for globalchat/similarity.

This commit is contained in:
asofold 2012-09-09 02:12:37 +02:00
parent 9a2852c7e0
commit 8fde82b113

View File

@ -24,6 +24,7 @@ public class SimilarWordsBKL extends DigestedWords {
}
public SimilarWordsBKLSettings applyConfig(ConfigFile config, String prefix){
super.applyConfig(config, prefix);
this.range = config.getInt(prefix + "range", this.range);
this.maxSize = config.getInt(prefix + "size", this.maxSize);
this.maxSeek= config.getInt(prefix + "seek", this.maxSeek);
this.durExpire = (long) (config.getDouble(prefix + "time", (float) this.durExpire / 1000f) * 1000f);