silent PONG replies

This commit is contained in:
2026-04-09 07:41:58 +08:00
parent 6a85dc86cf
commit f6514a0b37
+2
View File
@@ -607,6 +607,8 @@ static void handle_irc_line(int si, const char *raw) {
return; return;
} }
if (strcmp(m.cmd,"PONG")==0) return; /* ignore server's PONG replies */
/* SASL / CAP negotiation */ /* SASL / CAP negotiation */
if (strcmp(m.cmd,"CAP")==0) { if (strcmp(m.cmd,"CAP")==0) {
char sub[16]=""; char sub[16]="";