mirror of
https://github.com/jlu5/PyLink.git
synced 2025-05-06 06:37:22 +02:00
Irc: run initVars() on connect too
2b16f25b612e2d3a0ba145cf314e5167b24c0767 is wrong; it caused reconnects to fail with disconnect loops.
This commit is contained in:
parent
aedb05608e
commit
45c2abdae7
@ -164,6 +164,7 @@ class Irc():
|
|||||||
__init__ in a separate thread to allow multiple concurrent connections.
|
__init__ in a separate thread to allow multiple concurrent connections.
|
||||||
"""
|
"""
|
||||||
while True:
|
while True:
|
||||||
|
self.initVars()
|
||||||
ip = self.serverdata["ip"]
|
ip = self.serverdata["ip"]
|
||||||
port = self.serverdata["port"]
|
port = self.serverdata["port"]
|
||||||
checks_ok = True
|
checks_ok = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user