Merge branch 'Calcium-Ion:main' into main

This commit is contained in:
Maple Gao
2024-03-21 01:40:29 +08:00
committed by GitHub

View File

@@ -23,6 +23,7 @@ func SensitiveWordsToString() string {
}
func SensitiveWordsFromString(s string) {
SensitiveWords = []string{}
sw := strings.Split(s, "\n")
for _, w := range sw {
w = strings.TrimSpace(w)