Skip to content

Commit

Permalink
fix ban list setting
Browse files Browse the repository at this point in the history
  • Loading branch information
everoddandeven committed Dec 26, 2024
1 parent 5813c56 commit 48b2875
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/DaemonSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ export class DaemonSettings {
const boolValue = value === '1'; // Interpret 1 as true, 0 as false

switch (key) {
case 'ban-list': settings.banList = value; break;
case 'data-dir': settings.dataDir = value; break;
case 'log-file': settings.logFile = value; break;
case 'log-level': settings.logLevel = parseInt(value, 10); break;
Expand Down

0 comments on commit 48b2875

Please sign in to comment.