forked from rDrama/rDrama
1
0
Fork 0
Aevann 2024-02-25 02:58:15 +02:00
parent 92ba445c53
commit 18c89f0d1a
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ def award_thing(v, thing_type, id):
if not author.is_suspended or not author.unban_utc:
abort(403)
if not author.ban_reason.startswith('1-Day ban award'):
if not author.ban_reason.startswith('1-Day Ban award'):
abort(400, "You can only use unban awards to undo the effect of ban awards!")
if author.unban_utc - time.time() > 86400: