This commit is contained in:
Aevann1 2022-02-25 15:26:56 +02:00
parent d0d0c0462a
commit 6e2b0a8b79
18 changed files with 8 additions and 8 deletions

View file

@ -214,7 +214,7 @@ class User(Base):
@property
@lazy
def paid_dues(self):
return self.admin_level or self.club_allowed or self.patron > 1 or (self.patron == 1 and self.truecoins > dues/10) 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.patron > 1 or (self.patron == 1 and self.truecoins > dues/10) or (self.club_allowed != False and self.truecoins > dues))
@lazy
def any_block_exists(self, other):