From d9077d37112c6bf1116a1d382d096ad5d2a97429 Mon Sep 17 00:00:00 2001 From: Alexander van Gessel Date: Tue, 4 Feb 2014 21:58:51 +0100 Subject: [PATCH] Don't loop forever after failing to connect to IRC --- irkerd | 1 + 1 file changed, 1 insertion(+) diff --git a/irkerd b/irkerd index 1f6af3d..7f03856 100755 --- a/irkerd +++ b/irkerd @@ -504,6 +504,7 @@ class Connection: self.last_ping = time.time() except IRCServerConnectionError: self.status = "expired" + break elif self.status == "handshaking": if time.time() > self.last_xmit + HANDSHAKE_TTL: self.status = "expired" -- 2.26.2