3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

Irc: run initVars() on connect too

2b16f25b61 is wrong; it caused reconnects to fail with disconnect loops.
This commit is contained in:
James Lu 2016-03-25 17:14:16 -07:00
parent aedb05608e
commit 45c2abdae7

View File

@ -164,6 +164,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