small change to punish listings

pull/64/head
Aevann1 2022-12-13 20:54:18 +02:00
parent 1ba74ad8fa
commit b531d38384
2 changed files with 3 additions and 0 deletions

View File

@ -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()

View File

@ -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']: