From 1979b37e4fa3c9b7ed8784cf8b52cfae74edd9a4 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Tue, 11 Jun 2019 19:30:19 +0100 Subject: Send a PING to the server before assuming a timeout is definite. --- structures.h | 1 + 1 file changed, 1 insertion(+) (limited to 'structures.h') 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 }; -- cgit v1.2.3