dkforest

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

commit 7270ad79c896084bfac2cb112f69ae7550162823
parent 364c878ac7a47620db69977bae593c5dcdde2b5c
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed, 29 Mar 2023 11:38:56 -0700

spammer

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

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