wm: ircd

Download patch

ref: 89eaf3db8243d1a73437b697a97c41ce24ef76d3
parent: 71880b7aff3ed9fd59381d14b0828acb46838a99
author: mkf <mkf@cloud9p.org>
date: Tue Sep 26 05:26:10 EDT 2023

hide PING and PONG on debug

--- a/ircd.c
+++ b/ircd.c
@@ -423,7 +423,7 @@
 		fprint(2, "%d: reply: unknown code %d\n", c->fd, r->code);
 		assert(0);
 	}
-	if(r->code != PING && r->code != PONG)
+	if(r->code != PING || r->code != PONG)
 		dprint("%d: reply: %s", c->fd, buf);
 
 	ewrite(c->fd, buf, n);