From 1db72e71dc13dca266ae1dff6965e4e3279e78aa Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 5 Jan 2021 21:17:44 +0100 Subject: [PATCH] Banned clients are not potential clients --- squinnondation/hazel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squinnondation/hazel.py b/squinnondation/hazel.py index 958fa2d..0c5ff2f 100644 --- a/squinnondation/hazel.py +++ b/squinnondation/hazel.py @@ -41,7 +41,7 @@ class Hazelnut: @property def potential(self) -> bool: - return not self.active + return not self.active and not self.banned @potential.setter def potential(self, value: bool) -> None: