diff --git a/files/routes/posts.py b/files/routes/posts.py index 813689187..2f7d9c450 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -461,7 +461,7 @@ def submit_post(v:User, sub=None): sub = request.values.get("sub", "").lower().replace('/h/','').strip() - if SITE_NAME == 'rDrama' and v.chud == 1: + if SITE == 'rdrama.net' and v.chud == 1: sub = 'chudrama' title_html = filter_emojis_only(title, graceful=True, count_emojis=True)