diff --git a/src/Connection/ConnectionServer.py b/src/Connection/ConnectionServer.py index 20bd165a..ad834c54 100644 --- a/src/Connection/ConnectionServer.py +++ b/src/Connection/ConnectionServer.py @@ -193,7 +193,7 @@ class ConnectionServer(object): connection.close("Close all connections") def handleIncomingConnection(self, sock, addr): - if self.allowsAcceptingConnections(): + if not self.allowsAcceptingConnections(): sock.close() return False