Banned clients are not potential clients
This commit is contained in:
parent
edb738bffb
commit
1db72e71dc
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue