From fdfe8e54f321c7134b975633fc649b1783c11de2 Mon Sep 17 00:00:00 2001 From: fireworks88 Date: Sun, 12 Sep 2021 21:29:36 +0200 Subject: [PATCH] ds --- files/classes/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/classes/user.py b/files/classes/user.py index 7778658948..1d1427242f 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -226,9 +226,9 @@ class User(Base, Stndrd, Age_times): comments = comments.options(contains_eager(Comment.post)) if not v: - comments = comments.join(Comment.post).filter(Submission.club == False) + comments = comments.filter(Submission.club == False) elif v.admin_level < 3 and (v.coins < 750 or v.club_banned): - comments = comments.join(Comment.post).filter(Submission.club == False) + comments = comments.filter(Submission.club == False) now = int(time.time()) if t == 'hour':