Socket: Close the socket more nicely.

This commit is contained in:
Valentin Lorentz 2013-03-27 16:32:26 +01:00
parent 916a85c965
commit ddd8314884

View File

@ -337,7 +337,6 @@ class SocketDriver(drivers.IrcDriver, drivers.ServersMixin):
def _reallyDie(self):
if self.conn is not None:
self.conn.shutdown(socket.SHUT_RDWR)
self.conn.close()
drivers.IrcDriver.die(self)
# self.irc.die() Kill off the ircs yourself, jerk!