This appears to do exactly nothing?

This commit is contained in:
Tamius Han 2020-02-09 00:28:35 +01:00
parent 470f576b41
commit c9f227c0f9

View File

@ -92,7 +92,6 @@ class CommsServer {
() => { () => {
this.settings.active.sites['@global'].autoar = "blacklist"; this.settings.active.sites['@global'].autoar = "blacklist";
this.settings.save(); this.settings.save();
this.sendToAll({cmd: "reload-settings", sender: "uwbg"})
this.logger.log('info', 'comms', "[uw-bg] autoar set to enabled (blacklist). evidenz:", this.settings.active); this.logger.log('info', 'comms', "[uw-bg] autoar set to enabled (blacklist). evidenz:", this.settings.active);
} }
], ],
@ -105,7 +104,6 @@ class CommsServer {
this.settings.active.arDetect.disabledReason = 'User disabled'; this.settings.active.arDetect.disabledReason = 'User disabled';
} }
this.settings.save(); this.settings.save();
this.sendToAll({cmd: 'reload-settings', newConf: this.settings.active});
this.logger.log('info', 'comms', "[uw-bg] autoar set to disabled. evidenz:", this.settings.active); this.logger.log('info', 'comms', "[uw-bg] autoar set to disabled. evidenz:", this.settings.active);
} }
], ],
@ -117,7 +115,6 @@ class CommsServer {
var timeout = message.timeout < 4 ? 4 : message.timeout; var timeout = message.timeout < 4 ? 4 : message.timeout;
this.settings.active.arDetect.timer_playing = timeout; this.settings.active.arDetect.timer_playing = timeout;
this.settings.save(); this.settings.save();
this.sendToAll({cmd: 'reload-settings', newConf: this.settings.active});
} }
], ],
'logging-stop-and-save': [ // TODO: possibly never used/superseded — check 'logging-stop-and-save': [ // TODO: possibly never used/superseded — check