I. AM. SO. RETARDED.

This commit is contained in:
Hamcha 2016-02-14 00:07:50 +01:00
parent 92612d74cd
commit 51c4bdbef5

View file

@ -319,7 +319,7 @@ func processWords(message tg.APIMessage) {
b := tx.Bucket([]byte("words")) b := tx.Bucket([]byte("words"))
for _, word := range wordList { for _, word := range wordList {
if len(word) < 3 { if len(word) < 3 {
return continue
} }
word = strings.Trim(word, " ?!.,:;/-_()[]{}'\"+=*^\n") word = strings.Trim(word, " ?!.,:;/-_()[]{}'\"+=*^\n")