forked from rDrama/rDrama
dont auto-pin if post sub is stealthed
parent
acd4a61232
commit
3308734dc7
|
@ -924,7 +924,7 @@ def submit_post(v:User, sub=None):
|
|||
|
||||
execute_lawlz_actions(v, post)
|
||||
|
||||
if SITE == 'rdrama.net' and v.id in (IMPASSIONATA_ID, PIZZASHILL_ID, 2008):
|
||||
if SITE == 'rdrama.net' and not post.sub.stealth and v.id in (IMPASSIONATA_ID, PIZZASHILL_ID, 2008):
|
||||
post.stickied_utc = int(time.time()) + 3600
|
||||
post.stickied = "AutoJanny"
|
||||
|
||||
|
|
Loading…
Reference in New Issue