all repos — honk @ 48a2c70ffc89605ed78ca836fe6abab31470f9b1

my fork of honk

check summary for bad words
Ted Unangst tedu@tedunangst.com
Sat, 01 Jun 2019 16:08:19 -0400
commit

48a2c70ffc89605ed78ca836fe6abab31470f9b1

parent

d47ad2e5c84dd454781b698e8a979c568be3ab8d

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M fun.gofun.go

@@ -82,7 +82,7 @@ zwords := getzwords(userid)

collapse := false for i, h := range honks { for _, z := range zwords { - if z.MatchString(h.Noise) { + if z.MatchString(h.Precis) || z.MatchString(h.Noise) { honks[i] = nil collapse = true break