minor bug fix
parent
1bc086ad1b
commit
845e13b4ae
|
@ -467,7 +467,7 @@ def execute_lawlz_actions(v:User, p:Submission):
|
|||
if SITE_NAME != 'rDrama': return
|
||||
if not FEATURES['PINS']: return
|
||||
p.stickied_utc = int(time.time()) + 86400
|
||||
p.stickied = AUTOJANNY_ID
|
||||
p.stickied = "AutoJanny"
|
||||
p.distinguish_level = 6
|
||||
p.flair = filter_emojis_only(":ben10: Required Reading")
|
||||
pin_time = 'for 1 day'
|
||||
|
|
|
@ -926,7 +926,7 @@ def submit_post(v:User, sub=None):
|
|||
|
||||
if SITE == 'rdrama.net' and v.id in (IMPASSIONATA_ID, PIZZASHILL_ID, 2008):
|
||||
post.stickied_utc = int(time.time()) + 3600
|
||||
post.stickied = AUTOJANNY_ID
|
||||
post.stickied = "AutoJanny"
|
||||
|
||||
cache.delete_memoized(frontlist)
|
||||
cache.delete_memoized(userpagelisting)
|
||||
|
|
Loading…
Reference in New Issue