mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 18:44:04 +01:00
Let's die immediately if we've not finished connecting.
This commit is contained in:
parent
613a855d78
commit
32b3bce635
@ -813,6 +813,8 @@ class Irc(IrcCommandDispatcher):
|
|||||||
"""Makes the Irc object *promise* to die -- but it won't die (of its
|
"""Makes the Irc object *promise* to die -- but it won't die (of its
|
||||||
own volition) until all its queues are clear. Isn't that cool?"""
|
own volition) until all its queues are clear. Isn't that cool?"""
|
||||||
self.zombie = True
|
self.zombie = True
|
||||||
|
if not self.afterConnect:
|
||||||
|
self._reallyDie()
|
||||||
|
|
||||||
# This is useless because it's in world.ircs, so it won't be deleted until
|
# This is useless because it's in world.ircs, so it won't be deleted until
|
||||||
# the program exits. Just figured you might want to know.
|
# the program exits. Just figured you might want to know.
|
||||||
|
Loading…
Reference in New Issue
Block a user