From 741f839af058cc419d346f1617026ec66c6502b9 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Wed, 14 Dec 2022 15:35:28 -0600 Subject: [PATCH] logic --- files/routes/routehelpers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/files/routes/routehelpers.py b/files/routes/routehelpers.py index 139ab7fad..ce1d69926 100644 --- a/files/routes/routehelpers.py +++ b/files/routes/routehelpers.py @@ -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