aboutsummaryrefslogtreecommitdiffstats
path: root/c_parse.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
}