From b8f2bbb1bbd10114b835638fcae7cc05dae69e68 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 5 Apr 2003 11:25:38 +0000 Subject: [PATCH] Another go at fixing the looping bug. --- src/asyncoreDrivers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asyncoreDrivers.py b/src/asyncoreDrivers.py index eae578421..17a0cbf07 100644 --- a/src/asyncoreDrivers.py +++ b/src/asyncoreDrivers.py @@ -88,7 +88,7 @@ class AsyncoreDriver(asynchat.async_chat, object): def writable(self): #debug.methodNamePrintf(self, 'writable') - while True: + while self.connected: m = self.irc.takeMsg() if m: self.push(str(m))