Banned clients are not potential clients

This commit is contained in:
Yohann D'ANELLO 2021-01-05 21:17:44 +01:00
parent edb738bffb
commit 1db72e71dc
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class Hazelnut:
@property @property
def potential(self) -> bool: def potential(self) -> bool:
return not self.active return not self.active and not self.banned
@potential.setter @potential.setter
def potential(self, value: bool) -> None: def potential(self, value: bool) -> None: