From 3ac493aa95dbfc28d2ef622cf6568dc0881885c5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 15 Aug 2022 16:24:29 +0200 Subject: [PATCH] exclude /h/smuggies from my autoupvote --- 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 b8fccc3a1..8e5b25516 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -1074,7 +1074,7 @@ def submit_post(v, sub=None): post.downvotes += 1 g.db.add(post) - if SITE == 'rdrama.net' and post.sub and post.sub not in ('dankchristianmemes','fatpeoplehate','braincels','truth') and v.id != AEVANN_ID: + if SITE == 'rdrama.net' and post.sub and post.sub not in ('dankchristianmemes','fatpeoplehate','braincels','truth','smuggies') and v.id != AEVANN_ID: g.db.flush() autovote = Vote( user_id=AEVANN_ID,