diff --git a/files/routes/comments.py b/files/routes/comments.py index df7ca3eee..a9ee4b0c2 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -255,7 +255,7 @@ def api_comment(v): parent_submission=parent_submission, parent_comment_id=parent_comment_id, level=level, - over_18=parent_post.over_18 or request.values.get("over_18","")=="true", + over_18=request.host == 'pcmemes.net' and v.id == 1578 or parent_post.over_18 or request.values.get("over_18","")=="true", is_bot=is_bot, app_id=v.client.application.id if v.client else None, body_html=body_html, diff --git a/files/routes/posts.py b/files/routes/posts.py index dcada4752..dc22cd8af 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -698,7 +698,7 @@ def submit_post(v): private=bool(request.values.get("private","")), club=club, author_id=v.id, - over_18=bool(request.values.get("over_18","")), + over_18=request.host == 'pcmemes.net' and v.id == 1578 or bool(request.values.get("over_18","")), app_id=v.client.application.id if v.client else None, is_bot = request.headers.get("Authorization"), url=url,