fixed a part of the reconnection logic.
This commit is contained in:
parent
190d42fbb5
commit
a2cde2ff18
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class Bot(object):
|
|||
del self.servers[server.fileno()]
|
||||
|
||||
def reconnect(self, timer, server):
|
||||
IRCServer.Server.__init__(server, server.id, server.hostname,
|
||||
IRCServer.Server.__init__(server, server.id, server.target_hostname,
|
||||
server.port, server.password, server.ipv4, server.tls,
|
||||
server.nickname, server.username, server.realname, self)
|
||||
if self.connect(server):
|
||||
|
|
Loading…
Reference in a new issue