aboutsummaryrefslogtreecommitdiffstats
path: root/c_parse.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-19 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-19 20:20:20 +0100
commitd4dcdafb0adf247c5726db6f0fe10815b5fdc400 (patch)
treea2609a85cd47a365a07f4f81550092b367b45358 /c_parse.go
parentye (diff)
downloadhardflip-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.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/c_parse.go b/c_parse.go
index b341f7e..35a179f 100644
--- a/c_parse.go
+++ b/c_parse.go
@@ -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
}