This commit is contained in:
Aevann1 2021-09-03 23:11:43 +02:00
parent ea2afbde6d
commit 940f681665

View file

@ -295,7 +295,7 @@ def api_comment(v):
g.db.add(c_aux)
g.db.flush()
if c.parent_comment and c_aux.body.lower().startswith("based"):
if "pcm" in request.host and c.parent_comment and c_aux.body.lower().startswith("based"):
c_based = Comment(author_id=BASEDBOT_ACCOUNT,
parent_submission=parent_submission,
distinguish_level=6,