dkforest

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

commit 04a6824bc507532c2d5e2f3a90b34506776791f7
parent 18fd475ca580286f0c2bafd748c92f0887cc5ed5
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Fri,  5 May 2023 18:19:41 -0700

kick more retards

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

diff --git a/pkg/web/handlers/api/v1/spamInterceptor.go b/pkg/web/handlers/api/v1/spamInterceptor.go @@ -117,6 +117,7 @@ func checkSpam(db *database.DkfDB, origMessage string, authUser *database.User) if authUser.GeneralMessagesCount < 4 { if (wordsMap["need"] > 0 && wordsMap["help"] > 0) || (wordsMap["help"] > 0 && wordsMap["me"] > 0) || + (wordsMap["make"] > 0 && wordsMap["money"] > 0) || wordsMap["porn"] > 0 || wordsMap["murder"] > 0 { _ = dutils.SelfKick(db, *authUser, silentSelfKick)