From e1d747dc88d6e7690fa20c3d785e05eb4a1b3e64 Mon Sep 17 00:00:00 2001
From: "Eric S. Raymond" <esr@thyrsus.com>
Date: Thu, 4 Oct 2012 13:48:26 -0400
Subject: [PATCH] Leave a connection more politely.

---
 irkerd | 1 +
 1 file changed, 1 insertion(+)

diff --git a/irkerd b/irkerd
index b6043da..36cd9b1 100755
--- a/irkerd
+++ b/irkerd
@@ -200,6 +200,7 @@ class Connection:
                        or now > self.last_ping + PING_TTL:
                     self.irker.debug(1, "timing out inactive connection to %s at %s" % (self.servername, time.asctime()))
                     self.connection.context = None
+                    self.connection.quit("transmission timeout")
                     self.connection.close()
                     self.connection = None
                     self.status = "disconnected"
-- 
2.26.2