Fixed another reference to the old database structure
This commit is contained in:
parent
bb53f6f565
commit
e6321abd55
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue