diff options
author | Joe <rbo@gmx.us> | 2023-12-19 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-19 20:20:20 +0100 |
commit | d4dcdafb0adf247c5726db6f0fe10815b5fdc400 (patch) | |
tree | a2609a85cd47a365a07f4f81550092b367b45358 /c_parse.go | |
parent | ye (diff) | |
download | hardflip-d4dcdafb0adf247c5726db6f0fe10815b5fdc400.tar.gz hardflip-d4dcdafb0adf247c5726db6f0fe10815b5fdc400.tar.bz2 hardflip-d4dcdafb0adf247c5726db6f0fe10815b5fdc400.tar.xz hardflip-d4dcdafb0adf247c5726db6f0fe10815b5fdc400.tar.zst hardflip-d4dcdafb0adf247c5726db6f0fe10815b5fdc400.zip |
reload
Diffstat (limited to 'c_parse.go')
-rw-r--r-- | c_parse.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -90,5 +90,8 @@ func c_read_yaml_file(file string) *HostNode { } else if host.Type > 1 { return nil } + if host.Quality > 2 { + host.Quality = 2 + } return &host } |