2 Commits

Author SHA1 Message Date
07384d793f Treat inbound IRC traffic as connection activity 2026-09-02 14:38:20 -06:00
cc3cc8f6d8 fix old keepalive issue 2026-08-31 00:08:01 -06:00

View File

@@ -374,6 +374,14 @@ server_inline (server *serv, char *line, gssize len)
else
line = text_convert_invalid (line, len, serv->read_converter, unicode_fallback_string, &len_utf8);
/* Any complete IRC line proves that the connection is alive. */
serv->ping_recv = time (0);
if (serv->lag_sent)
{
serv->lag_sent = 0;
fe_set_lag (serv, serv->lag);
}
fe_add_rawlog (serv, line, len_utf8, FALSE);
/* let proto-irc.c handle it */