diff --git a/files/classes/user.py b/files/classes/user.py index 96162fda1..9874a1631 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -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): diff --git a/files/templates/admin/badge_grant.html b/files/templates/admin/badge_grant.html index 90e2bab88..76e1e75e4 100644 --- a/files/templates/admin/badge_grant.html +++ b/files/templates/admin/badge_grant.html @@ -60,7 +60,7 @@ -