forked from MarseyWorld/MarseyWorld
Fix 500 on all non-holed post submissions.
parent
0f2f72f2c3
commit
71738b05fc
|
@ -923,7 +923,9 @@ def submit_post(v:User, sub=None):
|
|||
|
||||
execute_lawlz_actions(v, post)
|
||||
|
||||
if SITE == 'rdrama.net' and not post.sub.stealth and v.id in (IMPASSIONATA_ID, PIZZASHILL_ID, 2008):
|
||||
if (SITE == 'rdrama.net'
|
||||
and v.id in (IMPASSIONATA_ID, PIZZASHILL_ID, 2008)
|
||||
and not (post.sub and post.sub.stealth)):
|
||||
post.stickied_utc = int(time.time()) + 3600
|
||||
post.stickied = "AutoJanny"
|
||||
|
||||
|
|
Loading…
Reference in New Issue