summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fot.py b/fot.py
index 264a4d9..01f91d6 100755
--- a/fot.py
+++ b/fot.py
@@ -159,6 +159,7 @@ class Bot(irc.IRCClient):
self.keywords = {}
self.msg_callbacks = []
irc.IRCClient.connectionLost(self, reason)
+ del bots[bots.index(self)]
def reconnect(self):
self.quit('reconnecting')