Fix a bug introduced in c84b413f58
This commit is contained in:
parent
adaeedf4d8
commit
5d6fe6a631
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue