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