wm: ircd

Download patch

ref: c3637bfe1d08569e21f54d8244c28f73f2e2c443
parent: 99243e943d21dfb244ccd2e6653f7091e8482f09
author: mkf <mkf@cloud9p.org>
date: Thu Sep 28 01:03:33 EDT 2023

forgot to setprefix → !setprefix in nick()

--- a/ircd.c
+++ b/ircd.c
@@ -675,7 +675,7 @@
 			first = 1;
 
 		c->nick = estrdup(nick);
-		if(setprefix(c))
+		if(!setprefix(c))
 			return 0;
 		dprint("%d: nick=%s\n", c->fd, c->nick);
 	}