This commit is contained in:
Aevann1 2022-02-16 01:24:13 +02:00
parent b711c40f50
commit c51ca5c5b2

View file

@ -283,7 +283,6 @@ def award_post(pid, v):
if author.marseyawarded:
return {"error": "This user is the under the effect of a conflicting award: Marsey award."}, 404
if author.username == "911roofer": abort(403)
if author.agendaposter and time.time() < author.agendaposter: author.agendaposter += 86400
else: author.agendaposter = int(time.time()) + 86400
@ -517,7 +516,6 @@ def award_comment(cid, v):
if author.marseyawarded:
return {"error": "This user is the under the effect of a conflicting award: Marsey award."}, 404
if author.username == "911roofer": abort(403)
if author.agendaposter and time.time() < author.agendaposter: author.agendaposter += 86400
else: author.agendaposter = int(time.time()) + 86400