From f6d51fadc064bf6926e1360d4b79fd536495cc51 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 4 Sep 2021 00:24:25 +0200 Subject: [PATCH] gffg --- files/routes/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index a9d1654534..d8af995b24 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -296,7 +296,7 @@ def api_comment(v): g.db.flush() if "pcm" in request.host and c_aux.body.lower().startswith("based"): - pill = re.match("based and (.*?)(-| )pilled", body, re.IGNORECASE) + pill = re.match("based and (.{1,20}?)(-| )pilled", body, re.IGNORECASE) c_based = Comment(author_id=BASEDBOT_ACCOUNT, parent_submission=parent_submission,