diff --git a/files/routes/static.py b/files/routes/static.py index 506a1bc59..10ab7a1bb 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -408,5 +408,6 @@ def transfers(v:User): @limiter.limit(DEFAULT_RATELIMIT) @is_not_permabanned def donate(v): - if v.shadowbanned or v.chud == 1: abort(404) + if v.shadowbanned or v.chud == 1 or v.is_permabanned: + abort(404) return render_template(f'donate.html', v=v)