Commit 55118efc by Maple Gao Committed by GitHub

Merge branch 'Calcium-Ion:main' into main

parents be5cf3f1 8b961178
...@@ -23,6 +23,7 @@ func SensitiveWordsToString() string { ...@@ -23,6 +23,7 @@ func SensitiveWordsToString() string {
} }
func SensitiveWordsFromString(s string) { func SensitiveWordsFromString(s string) {
SensitiveWords = []string{}
sw := strings.Split(s, "\n") sw := strings.Split(s, "\n")
for _, w := range sw { for _, w := range sw {
w = strings.TrimSpace(w) w = strings.TrimSpace(w)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment