From 56692becb43dc67b7bd96ff8ca4916e18c451048 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 27 Dec 2021 05:10:52 +0200 Subject: [PATCH] fds --- files/routes/comments.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index 2bbedd576c..5e5ffc4b1e 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -601,8 +601,6 @@ def edit_comment(cid, v): if not c.author_id == v.id: abort(403) - 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