Banned clients are not potential clients
This commit is contained in:
		@@ -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:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user