aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/cmd_ac.c
diff options
context:
space:
mode:
authorDmitry Podgorny <pasis.ua@gmail.com>2019-06-03 13:04:04 +0300
committerDmitry Podgorny <pasis.ua@gmail.com>2019-06-03 13:28:00 +0300
commit6138a5f79be3e5f1c36f94accf7b836ca23a1bc6 (patch)
tree3c10d9e1ac9206b452417b4287ef69142a9eee2e /src/command/cmd_ac.c
parent5b4277840a9822945ccdb552a0a56cc3a62c49f3 (diff)
downloadprofani-tty-6138a5f79be3e5f1c36f94accf7b836ca23a1bc6.tar.gz
Cancel autoping timer on disconnect or connection loss
If Profanity is disconnected in any way before ping response is received, the autoping timer will expire after the next connection is established. As result, user will be disconnected immediately. Cancel autoping timer in ev_disconnect_cleanup(), so it is done for all kind of disconnections.
Diffstat (limited to 'src/command/cmd_ac.c')
0 files changed, 0 insertions, 0 deletions