wm: ircd

Download patch

ref: 7edeb57b09c3c14ec9572033fe85285b22e28f83
parent: ba28c5fac80ac2c4110dac03fda42aae501ae2d5
author: mkf <mkf@cloud9p.org>
date: Tue Sep 26 09:41:37 EDT 2023

add \r\n to ERR_ALREADYREGISTERED

--- a/ircd.c
+++ b/ircd.c
@@ -421,7 +421,7 @@
 		n = snprint(buf, n, ":%s 451 %s :Connection not registered\r\n", servername, c->nick);
 		break;
 	case ERR_ALREADYREGISTERED:
-		n = snprint(buf, n, ":%s 461 %s :Connection already registered", servername, c->nick);
+		n = snprint(buf, n, ":%s 461 %s :Connection already registered\r\n", servername, c->nick);
 		break;
 
 	default: