zorael / kameloso

IRC bot with Twitch support
Boost Software License 1.0
9 stars 3 forks source link

Not all getopt bools can be false and override true configuration #86

Closed zorael closed 4 years ago

zorael commented 4 years ago

If you have a configuration file with Core.ipv6 set to true and start the program with a passed getopt argument --ipv6=false (which should take precedence), it will start with ipv6 enabled. The same is true for --hideOutgoing.

We need to specialcase all getopt bools with adjustGetopt, not just the current --brightTerminal and --monochrome.

zorael commented 4 years ago

Fixed in 47d8248352cc8feb84e59f20fb777c8b7e57825a.