mirror of https://github.com/jesopo/ircrobots
reset ping timer when we read a line
This commit is contained in:
parent
0253aba99e
commit
3574868458
|
@ -297,7 +297,8 @@ class Server(IServer):
|
|||
|
||||
for done in dones:
|
||||
if isinstance(done.result(), Line):
|
||||
line = done.result()
|
||||
ping_sent = False
|
||||
line = done.result()
|
||||
self._process_queue.append(line)
|
||||
elif done.result() is None:
|
||||
if ping_sent:
|
||||
|
|
Loading…
Reference in New Issue