From 7aa10b9d1bc7761639393beb9dba8ac63e927522 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Thu, 15 Dec 2022 22:56:04 +0000 Subject: [PATCH] special logic redux (#76) Co-authored-by: justcool393 Reviewed-on: https://fsdfsd.net/rDrama/rDrama/pulls/76 Co-authored-by: justcool393 Co-committed-by: justcool393 --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index bac972ded..9b6f68903 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -555,7 +555,7 @@ def submit_post(v:User, sub=None): if len(title_html) > POST_TITLE_HTML_LENGTH_LIMIT: return error("Rendered title is too big!") - if sub != "chudrama" and v.id == 253: # 2022-12-15: special logic by request + if sub != "chudrama" and v.id == 253 and SITE == 'rdrama.net': # 2022-12-15: special logic by request sub = "chudrama" if sub == 'changelog' and not v.admin_level >= PERMS['POST_TO_CHANGELOG']: