master
Aevann1 2021-10-05 17:02:51 +02:00
parent f3909e5f97
commit 17fa47e30c
1 changed files with 1 additions and 1 deletions

View File

@ -920,7 +920,7 @@ def ban_user(user_id, v):
except: pass
g.db.commit()
if 'redir' in request.values: redirect(user.url)
if 'redir' in request.values: return redirect(user.url)
else: return {"message": f"@{user.username} was banned!"}