mirror of https://github.com/Mikaela/Limnoria.git
Fixed possible error (uncovered during test) in Irc.die.
This commit is contained in:
parent
6d8a9e9c23
commit
8f4bc0c325
|
@ -515,6 +515,7 @@ class Irc(object):
|
|||
def die(self):
|
||||
for callback in self.callbacks:
|
||||
callback.die()
|
||||
if self.driver is not None:
|
||||
self.driver.die()
|
||||
if self in world.ircs:
|
||||
world.ircs.remove(self)
|
||||
|
|
Loading…
Reference in New Issue