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))