3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

Irc: run initVars() on connect too

2b16f25b61 is wrong; it caused reconnects to fail with disconnect loops.

(cherry picked from commit 45c2abdae7)
This commit is contained in:
James Lu 2016-03-25 17:14:16 -07:00
parent 46922ce879
commit f2a21148e7

View File

@ -165,6 +165,7 @@ class Irc():
__init__ in a separate thread to allow multiple concurrent connections.
"""
while True:
self.initVars()
ip = self.serverdata["ip"]
port = self.serverdata["port"]
checks_ok = True