diff --git a/files/routes/awards.py b/files/routes/awards.py index 133a18c4c..0c7b2c9c9 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -350,9 +350,8 @@ def award_thing(v, thing_type, id): else: author.progressivestack = int(time.time()) + 21600 badge_grant(user=author, badge_id=94) elif kind == "benefactor": - if author.patron and not author.patron_utc: - abort(409, f"{safe_username} is already a {patron.lower()}!") - author.patron = 1 + if not author.patron: + author.patron = 1 if author.patron_utc: author.patron_utc += 2629746 else: author.patron_utc = int(time.time()) + 2629746 author.pay_account('marseybux', 2500) diff --git a/files/templates/admin/patrons.html b/files/templates/admin/patrons.html index cd8622a8e..570948fa5 100644 --- a/files/templates/admin/patrons.html +++ b/files/templates/admin/patrons.html @@ -15,9 +15,6 @@ {% include "user_in_table.html" %} 2{{user.patron}} - {% if user.patron_utc %} - - {% endif %} {% endfor %}