From fe0e6c9799745e7cffeb71f477a38315ea469a4c Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 18 Feb 2024 16:12:11 +0200 Subject: [PATCH] boost countryclub --- files/routes/votes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/votes.py b/files/routes/votes.py index e3c7e480d1..4b16062478 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -181,7 +181,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): elif SITE == 'rdrama.net' and cls == Comment and 6 <= datetime.fromtimestamp(target.created_utc).hour <= 10: mul = 2 - if cls == Post and target.effortpost: + if cls == Post and (target.effortpost or target.hole == 'countryclub'): mul *= 2 target.realupvotes = floor(target.realupvotes * mul)