diff --git a/index.js b/index.js index e753d0c..0eb17b3 100644 --- a/index.js +++ b/index.js @@ -68,7 +68,9 @@ exports.load_config = function () { // active zones if (this.cfg.main.periodic_checks < 5) { // all configured are enabled - this.zones = new Set(...this.cfg.main.zones) + // The original code is making a Set from the already existing Set created above. It leads to gibberish + //this.zones = new Set(...this.cfg.main.zones) + this.zones = this.cfg.main.zones } else { this.zones = new Set() // populated by check_zones() }