mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-09-03 13:43:03 +00:00
Compare commits
2 Commits
implement-
...
keepalive_
| Author | SHA1 | Date | |
|---|---|---|---|
| 07384d793f | |||
| cc3cc8f6d8 |
@@ -374,6 +374,14 @@ server_inline (server *serv, char *line, gssize len)
|
|||||||
else
|
else
|
||||||
line = text_convert_invalid (line, len, serv->read_converter, unicode_fallback_string, &len_utf8);
|
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);
|
fe_add_rawlog (serv, line, len_utf8, FALSE);
|
||||||
|
|
||||||
/* let proto-irc.c handle it */
|
/* let proto-irc.c handle it */
|
||||||
|
|||||||
Reference in New Issue
Block a user