Browse Source

fix: ShouldDisableChannel

1808837298@qq.com 1 year ago
parent
commit
7a13fab271
1 changed files with 1 additions and 0 deletions
  1. 1 0
      setting/operation_setting.go

+ 1 - 0
setting/operation_setting.go

@@ -23,6 +23,7 @@ func AutomaticDisableKeywordsFromString(s string) {
 	ak := strings.Split(s, "\n")
 	for _, k := range ak {
 		k = strings.TrimSpace(k)
+		k = strings.ToLower(k)
 		if k != "" {
 			AutomaticDisableKeywords = append(AutomaticDisableKeywords, k)
 		}