From 4710ba44675588d4c40946ba9c2d39b2cec3e6ca Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 25 Jul 2023 15:27:10 +0300 Subject: [PATCH] readjust THOT pins --- files/routes/posts.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 5dae67694..4f2dccb22 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -724,11 +724,15 @@ def submit_post(v:User, sub=None): execute_lawlz_actions(v, p) if (SITE == 'rdrama.net' - and v.id in {TGTW_ID, SNALLY_ID, 7465} + and v.id in {TGTW_ID, SNALLY_ID} and not (p.sub and p.subr.stealth)) and p.sub != 'slavshit' and not p.ghost: p.stickied_utc = int(time.time()) + 28800 p.stickied = "AutoJanny" + if SITE == 'rdrama.net' and v.id == 7465 and "women's world cup" in p.title.lower(): + p.stickied_utc = int(time.time()) + 28800 + p.stickied = "AutoJanny" + cache.delete_memoized(frontlist) cache.delete_memoized(userpagelisting)