This commit is contained in:
Aevann1 2021-09-07 04:41:21 +02:00
parent 44ce46513a
commit 0e1063c38c
3 changed files with 3 additions and 3 deletions

View file

@ -176,7 +176,7 @@ def admin_level_required(x):
if not v:
abort(401)
if v.is_banned:
if v.is_suspended:
abort(403)
if v.admin_level < x: