forked from rDrama/rDrama
master
parent
284ee7bd60
commit
fdfe8e54f3
|
@ -226,9 +226,9 @@ class User(Base, Stndrd, Age_times):
|
||||||
comments = comments.options(contains_eager(Comment.post))
|
comments = comments.options(contains_eager(Comment.post))
|
||||||
|
|
||||||
if not v:
|
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):
|
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())
|
now = int(time.time())
|
||||||
if t == 'hour':
|
if t == 'hour':
|
||||||
|
|
Loading…
Reference in New Issue