pull/68/head
justcool393 2022-12-14 15:35:28 -06:00
parent 6e2b0afc1c
commit 741f839af0
1 changed files with 0 additions and 1 deletions

View File

@ -69,7 +69,6 @@ def check_for_alts(current:User, include_current_session=True):
session["history"] = list(past_accs)
g.db.flush()
for u in current.get_alt_graph(g.db, lambda q:q.filter(Alt.deleted == False)).all():
if u._alt_deleted: continue
if u.shadowbanned:
current.shadowbanned = u.shadowbanned
if not current.is_banned: current.ban_reason = u.ban_reason