This commit is contained in:
Aevann1 2021-12-30 07:47:09 +02:00
parent a73109184b
commit 1cd3778dd6

View file

@ -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