forked from rDrama/rDrama
dfsfds
parent
d420a9b5b5
commit
b849e480e5
|
@ -247,7 +247,7 @@ def post_rules(v):
|
||||||
@auth_required
|
@auth_required
|
||||||
def shadowbanned(v):
|
def shadowbanned(v):
|
||||||
if not (v and v.admin_level == 6): abort(404)
|
if not (v and v.admin_level == 6): abort(404)
|
||||||
users = [x for x in g.db.query(User).options(lazyload('*')).filter_by(shadowbanned != None).all()]
|
users = [x for x in g.db.query(User).options(lazyload('*')).filter(User.shadowbanned != None).all()]
|
||||||
return render_template("banned.html", v=v, users=users)
|
return render_template("banned.html", v=v, users=users)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue