mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Guard against an error on exit.
This commit is contained in:
parent
f0b533098c
commit
68b9b5f378
@ -511,6 +511,7 @@ class Irc(object):
|
||||
def die(self):
|
||||
for callback in self.callbacks:
|
||||
callback.die()
|
||||
if self in world.ircs:
|
||||
world.ircs.remove(self)
|
||||
|
||||
def __hash__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user