fds
This commit is contained in:
parent
1d83b2cda5
commit
cfa753727c
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ def post_rules(v):
|
|||
@auth_required
|
||||
def shadowbanned(v):
|
||||
if not (v and v.admin_level == 6): abort(404)
|
||||
users = [x for x in g.db.query(User).options(lazyload('*')).filter_by(shadowbanned = True).all()]
|
||||
users = [x for x in g.db.query(User).options(lazyload('*')).filter_by(shadowbanned != None).all()]
|
||||
return render_template("banned.html", v=v, users=users)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue