fix: ShouldDisableChannel
This commit is contained in:
@@ -23,6 +23,7 @@ func AutomaticDisableKeywordsFromString(s string) {
|
|||||||
ak := strings.Split(s, "\n")
|
ak := strings.Split(s, "\n")
|
||||||
for _, k := range ak {
|
for _, k := range ak {
|
||||||
k = strings.TrimSpace(k)
|
k = strings.TrimSpace(k)
|
||||||
|
k = strings.ToLower(k)
|
||||||
if k != "" {
|
if k != "" {
|
||||||
AutomaticDisableKeywords = append(AutomaticDisableKeywords, k)
|
AutomaticDisableKeywords = append(AutomaticDisableKeywords, k)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user