mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-12 11:31:33 +01: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.
|
||||
"""
|
||||
while True:
|
||||
self.initVars()
|
||||
ip = self.serverdata["ip"]
|
||||
port = self.serverdata["port"]
|
||||
checks_ok = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user