From 78e2fe9d5a7aa668657abe9cd71015e83bc93eb6 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 16 Dec 2022 16:48:17 +0200 Subject: [PATCH] remove unnecessary logic now --- files/routes/posts.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 9b6f68903..a660a8447 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -555,9 +555,6 @@ 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 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']: # we also allow 'code contributor' badgeholders to post to the changelog hole allowed = g.db.query(Badge.user_id).filter_by(badge_id=3).all()