From 89ded60945a764400c48cb79c4b79b8e3aca5514 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 30 Dec 2021 07:47:09 +0200 Subject: [PATCH] fds --- 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 03ad069311..60462633eb 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -590,7 +590,7 @@ def edit_comment(cid, v): if len(body) < 1: return {"error":"You have to actually type something!"}, 400 - if body != c.body and body != "": + if body != c.body or request.files.get("file") and request.headers.get("cf-ipcountry") != "T1": if v.marseyawarded: if time.time() > v.marseyawarded: v.marseyawarded = None