fix country filter

This commit is contained in:
zu1k
2020-08-26 13:26:18 +08:00
parent 6421e09c8e
commit 60009fedea

View File

@@ -54,7 +54,7 @@ func (c Clash) Provide() string {
}
if !noNeedFilterCountry {
for _, c := range countries {
if strings.HasPrefix(p.BaseInfo().Name, c) {
if strings.Contains(p.BaseInfo().Name, c) {
countryOk = true
break
}