From b531d38384f4ce46e86ac8ec4333cbbe5181e4f8 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 13 Dec 2022 20:54:18 +0200 Subject: [PATCH] small change to punish listings --- files/routes/admin.py | 1 + files/routes/users.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/files/routes/admin.py b/files/routes/admin.py index 85edd790d..9c60464ec 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -346,6 +346,7 @@ def shadowbanned(v): User.customtitle==None, User.namecolor == DEFAULT_COLOR, User.patron == 0, + User.truescore < 100, )) ) \ .order_by(nullslast(User.last_active.desc())).all() diff --git a/files/routes/users.py b/files/routes/users.py index e9163250a..0445c6ff2 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -180,6 +180,7 @@ def banned(v:User): User.customtitle==None, User.namecolor == DEFAULT_COLOR, User.patron == 0, + User.truescore < 100, )) ) if v.admin_level >= PERMS['VIEW_LAST_ACTIVE']: @@ -212,6 +213,7 @@ def chuds(v:User): User.customtitle==None, User.namecolor == DEFAULT_COLOR, User.patron == 0, + User.truescore < 100, )) ) if v.admin_level >= PERMS['VIEW_LAST_ACTIVE']: