wm: ircd

Download patch

ref: 0746920981e7794ebaaa2e402671c32c729e44bd
parent: 9c353aaccfcc9725b4b71b820d2c0c8e93931b68
author: mkf <mkf@cloud9p.org>
date: Mon Sep 25 08:20:22 EDT 2023

don't close connection on empty lines

--- a/ircd.c
+++ b/ircd.c
@@ -950,8 +950,6 @@
 	Reply r;
 
 	cmd = strtok(msg, " :\r");
-	if(cmd == nil)
-		return 0;
 
 	if(strcmp(cmd, "PING") == 0){
 		r.code = Pong;