commit 6ef99cf3a3002fc72af523e9f67637ffb05cd2b4 parent dc86cc538fafd724ba29ef7fb002988acc9d9f94 Author: n0tr1v <n0tr1v@protonmail.com> Date: Sat, 30 Sep 2023 01:30:12 -0400 forum spam filter Diffstat:
| M | pkg/web/handlers/forum.go | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pkg/web/handlers/forum.go b/pkg/web/handlers/forum.go @@ -285,7 +285,8 @@ func ThreadEditMessageHandler(c echo.Context) error { } func isForumSpam(msg string) bool { - if strings.Contains(strings.ToLower(msg), "profjerry") { + if strings.Contains(strings.ToLower(msg), "profjerry") || + strings.Contains(strings.ToLower(msg), "autorization.online") { return true } return false