diff options
author | 0neGal <mail@0negal.com> | 2023-09-13 18:22:38 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2023-09-13 18:22:38 +0200 |
commit | 4936917f1ee64c89d5443d824d828e8f537154a5 (patch) | |
tree | 41353b89ef034af77041e9f69e63882b65be2980 /assets | |
parent | 0e0fc10e5a36bb9fef7bfba7bb1bb088eca5a60d (diff) | |
download | Viper-4936917f1ee64c89d5443d824d828e8f537154a5.tar.gz Viper-4936917f1ee64c89d5443d824d828e8f537154a5.zip |
fixed settings file refusing to save if invalid
This is quite counter intuitive, as, if it's invalid, how do we
re-validate it, if we can't even save it again.
This existed here because the idea was for the re-validation to occur
somewhere else, and to make sure incorrectly formatted data wasn't being
given to this function. Now the function simply resets the config, a
restart may be required to add missing settings, in case the parsed
`conf` doesn't have all keys.
Diffstat (limited to 'assets')
0 files changed, 0 insertions, 0 deletions