dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 1d11e362542eb3db30778616552abe90bf4f14b2
parent 80379e5e87f1f1e8dfa728c3bd2cdb18b4c70a23
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sun, 19 Mar 2023 16:22:55 -0700

typo

Diffstat:
Mpkg/web/handlers/api/v1/spamInterceptor.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/web/handlers/api/v1/spamInterceptor.go b/pkg/web/handlers/api/v1/spamInterceptor.go @@ -136,8 +136,8 @@ func autoKickSpammers(authUser *database.User, lowerCaseMessage string) bool { if authUser.GeneralMessagesCount <= 10 { processedString := spamCharsRgx.ReplaceAllString(lowerCaseMessage, "") return strings.Contains(processedString, "lemybeauty") || - strings.Contains(lowerCaseMessage, "blacktorcc") || - strings.Contains(lowerCaseMessage, "profjerry") + strings.Contains(processedString, "blacktorcc") || + strings.Contains(processedString, "profjerry") } return false }