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
commit 492001a8b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)