mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Socket: Close the socket more nicely.
This commit is contained in:
parent
916a85c965
commit
ddd8314884
@ -337,7 +337,6 @@ class SocketDriver(drivers.IrcDriver, drivers.ServersMixin):
|
|||||||
|
|
||||||
def _reallyDie(self):
|
def _reallyDie(self):
|
||||||
if self.conn is not None:
|
if self.conn is not None:
|
||||||
self.conn.shutdown(socket.SHUT_RDWR)
|
|
||||||
self.conn.close()
|
self.conn.close()
|
||||||
drivers.IrcDriver.die(self)
|
drivers.IrcDriver.die(self)
|
||||||
# self.irc.die() Kill off the ircs yourself, jerk!
|
# self.irc.die() Kill off the ircs yourself, jerk!
|
||||||
|
Loading…
Reference in New Issue
Block a user