diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2017-05-25 22:16:33 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2017-05-25 22:16:33 +0200 |
commit | 092d612cf9aad5b253c49b24abe5d3ad752b8b58 (patch) | |
tree | 2f0627bcb2f4bc545cd3f2b2fef76e29530fa730 /miniircd | |
parent | 2d4e489881dfee3c0ecea7609de89fee4cace224 (diff) | |
download | miniircd-092d612cf9aad5b253c49b24abe5d3ad752b8b58.tar.gz miniircd-092d612cf9aad5b253c49b24abe5d3ad752b8b58.zip |
Fix Python 3 crash after disconnecting an unresponsive client
Fixes #28.
Diffstat (limited to 'miniircd')
-rwxr-xr-x | miniircd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -910,7 +910,7 @@ class Server(object): self.clients[x].socket_writable_notification() now = time.time() if last_aliveness_check + 10 < now: - for client in self.clients.values(): + for client in list(self.clients.values()): client.check_aliveness() last_aliveness_check = now |