network outage fix

This commit is contained in:
joonicks
2020-05-25 14:47:00 +02:00
parent 4e89a38191
commit 519c053aed
6 changed files with 53 additions and 36 deletions

View File

@@ -579,6 +579,7 @@ typedef struct Mech
time_t conntry; /* when connect try started */
/* re-used for server activity once connected */
int heartbeat; /* handle server timeout stuff */
time_t activity; /* Away timer (AAWAY) */
time_t ontime; /* how long the bot has been connected */