This commit is contained in:
Aevann1 2022-04-03 19:37:20 +02:00
parent face6eb80a
commit 3a592df14b
3 changed files with 27 additions and 1 deletions

View file

@ -220,7 +220,7 @@ class User(Base):
@property
@lazy
def paid_dues(self):
return not self.shadowbanned and not (self.is_banned and not self.unban_utc) and (self.admin_level or self.club_allowed or self.patron or (self.club_allowed != False and self.truecoins > dues))
return not self.shadowbanned and not (self.is_banned and not self.unban_utc) and (self.admin_level or self.club_allowed or (self.club_allowed != False and self.truecoins > dues))
@lazy
def any_block_exists(self, other):