wm: ircd

Download patch

ref: 718c81112821e4ba15539771670bdecd9de71bf8
parent: 7cba880065de2ed105300827caf939721812d5d0
author: mkf <mkf@cloud9p.org>
date: Mon Sep 25 12:37:54 EDT 2023

use sysname for servername for now

--- a/ircd.c
+++ b/ircd.c
@@ -1134,7 +1134,7 @@
 		usage();
 
 	if(servername == nil)
-		servername = estrdup("ircd");
+		servername = getenv("sysname");
 
 	tmfmtinstall();
 	if(!sprint(date, "%τ", tmfmt(gmtime(time(nil)), "MMM _D hh:mm:ss YYYY")))