make me autoupvote dad's posts
parent
8864748b6b
commit
f6e6d07504
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue