Let's not die twice.

This commit is contained in:
Jeremy Fincher 2004-08-20 05:42:58 +00:00
parent f914f5e7b9
commit 2b4df1ffe9

View File

@ -110,7 +110,8 @@ class SocketDriver(drivers.IrcDriver, drivers.ServersMixin):
except socket.error, e:
self._handleSocketError(e)
return
self._sendIfMsgs()
if not self.irc.zombie:
self._sendIfMsgs()
def connect(self, **kwargs):
self.reconnect(reset=False, **kwargs)