diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-06-11 19:30:19 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-06-11 19:30:19 +0100 |
commit | 1979b37e4fa3c9b7ed8784cf8b52cfae74edd9a4 (patch) | |
tree | 1c71fc8430b4bb49503aaf91b1d738717c19a47e /structures.h | |
parent | c80ce9eceb6412225bfa3a62bc557b17147119f7 (diff) |
Send a PING to the server before assuming a timeout is definite.
Diffstat (limited to 'structures.h')
-rw-r--r-- | structures.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/structures.h b/structures.h index 1de8fc8..5b9c2c0 100644 --- a/structures.h +++ b/structures.h @@ -46,6 +46,7 @@ struct ircdstrings { int capmultiprefix; // Whether the server approved our CAP multi-prefix request int autonicknum; // Number of attempts made at automatically setting a nick if all configured nicks were in use int lastmessagetime; // The last time we heard from the server + int timeoutcheck; // Whether we're checking to see if we've timed out from the server int reconnecting; // Whether or not we're reconnecting due to an earlier disconnection char oldnick[MAXNICKLENGTH]; // Set temporarily if we end up reconnecting in case we need to tell existing clients about a nick change }; |