From ef31a38de0fd5ec2dc29cc20d13e0e3fdfc0d449 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 9 Dec 2021 21:55:56 +0200 Subject: [PATCH] dfsdsf --- files/routes/comments.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/comments.py b/files/routes/comments.py index fd0999802..aabf4c5eb 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -621,6 +621,7 @@ def edit_comment(cid, v): if c.is_banned or c.deleted_utc > 0: abort(403) body = request.values.get("body", "").strip()[:10000] + if len(body) < 1: return {"error":"You have to actually type something!"}, 400 if body != c.body and body != "": if v.marseyawarded: