diff options
Diffstat (limited to 'message.c')
-rw-r--r-- | message.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -23,6 +23,8 @@ int processservermessage(SSL *server_ssl, char *str, struct client *clients, int struct channel *channels, struct settings *settings, char tokens[MAXTOKENS][MAXDATASIZE], int counter) { // Record that we received something from the server for timeout checking purposes ircdstrings->lastmessagetime = time(NULL); // snprintf(NULL, 0, "%ld", timenow); + // And we can't be timing out + ircdstrings->timeoutcheck = 0; // Server PING received? If so, send a PONG back with the next element as the argument. if (strncmp(tokens[0], "PING", strlen(tokens[0])) == 0) { |