From c0e9425015a943203948802ef5904bac06db1676 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 21 Aug 2022 19:47:59 +0200 Subject: [PATCH] make me not upvote posts in /h/racist --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index ac219906a7..2c30696bbb 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -1070,7 +1070,7 @@ def submit_post(v, sub=None): post.upvotes += 3 g.db.add(post) - if SITE == 'rdrama.net' and post.sub and post.sub not in ('dankchristianmemes','fatpeoplehate','foid','truth') and v.id != AEVANN_ID: + if SITE == 'rdrama.net' and post.sub and post.sub not in ('dankchristianmemes','fatpeoplehate','foid','truth','racist') and v.id != AEVANN_ID: g.db.flush() autovote = Vote( user_id=AEVANN_ID,