make me autoupvote dad's posts

remotes/1693045480750635534/spooky-22
Aevann1 2022-08-23 17:27:52 +02:00
parent 8864748b6b
commit f6e6d07504
1 changed files with 1 additions and 1 deletions

View File

@ -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','racist') and v.id != AEVANN_ID:
if SITE == 'rdrama.net' and v.id != AEVANN_ID and (v.id == DAD_ID or (post.sub and post.sub not in ('dankchristianmemes','fatpeoplehate','foid','truth','racist'))):
g.db.flush()
autovote = Vote(
user_id=AEVANN_ID,