Revert "nigg"

This reverts commit 5fa5a2428d.
This commit is contained in:
fireworks88 2021-09-12 22:18:26 +02:00
parent 5fa5a2428d
commit 1f3a0133c5

View file

@ -399,11 +399,6 @@ def comment_idlist(page=1, v=None, nsfw=False, sort="new", t="all", **kwargs):
comments = comments.join(posts, Comment.parent_submission == posts.c.id)
if not v:
comments = comments.filter(Submission.club == False)
elif v.admin_level < 3 and (v.coins < 750 or v.club_banned):
comments = comments.filter(Submission.club == False)
now = int(time.time())
if t == 'hour':
cutoff = now - 3600