From e6321abd55c9af935e2212e1613ca1ddc08338c1 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 8 Aug 2018 10:33:00 +0100 Subject: [PATCH] Fixed another reference to the old database structure --- IRCBot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRCBot.py b/IRCBot.py index 87460094..c178a4f3 100644 --- a/IRCBot.py +++ b/IRCBot.py @@ -92,7 +92,7 @@ class Bot(object): del self.servers[server.fileno()] def reconnect(self, event): - server_details = self.database.get_server(event["server_id"]) + server_details = self.database.servers.get(event["server_id"]) server = self.add_server(*(server_details + (False,))) if self.connect(server): self.servers[server.fileno()] = server