mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-17 14:01:03 +01:00
Irc: run initVars() on connect too
2b16f25b612e2d3a0ba145cf314e5167b24c0767 is wrong; it caused reconnects to fail with disconnect loops. (cherry picked from commit 45c2abdae79ad14342a4cfb615c7b658d0aaa9ac)
This commit is contained in:
parent
46922ce879
commit
f2a21148e7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user