diff --git a/files/routes/awards.py b/files/routes/awards.py index 469f5f96d..c8ec96175 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -312,6 +312,9 @@ def award_thing(v, thing_type, id): elif kind == "progressivestack": if not FEATURES['PINS']: abort(403) + + if author.id in BOOSTED_USERS: abort(409, f"This user is already permanently progressive-stacked!") + if author.progressivestack: author.progressivestack += 21600 else: author.progressivestack = int(time.time()) + 21600 badge_grant(user=author, badge_id=94)