This commit is contained in:
Aevann1 2021-11-30 19:19:55 +02:00
parent fc6509470e
commit 36e54f66d3
3 changed files with 4 additions and 2 deletions

View file

@ -84,7 +84,7 @@ def is_not_banned(f):
check_ban_evade(v)
if v.is_suspended: abort(403)
if v.is_suspended: return {"error": "You can't perform this action while being banned."}, 403
g.v = v