From 6e9981c054193becd1b9cee06beec026de0aaa76 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 27 Sep 2012 05:21:26 -0400 Subject: [PATCH] Fix patch by nenolod. --- irker | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/irker b/irker index efd7dab..04bac57 100755 --- a/irker +++ b/irker @@ -333,7 +333,10 @@ class Irker: class IrkerTCPHandler(SocketServer.StreamRequestHandler): def handle(self): while True: - irker.handle(self.rfile.readline().strip()) + line = self.rfile.readline() + if not line: + break + irker.handle(line.strip()) class IrkerUDPHandler(SocketServer.BaseRequestHandler): def handle(self): -- 2.26.2