forked from rDrama/rDrama
master
parent
92ba445c53
commit
18c89f0d1a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue