shithub: ircd

Download patch

ref: 4b27eadd45e9d157374782d164e8a79faf08575c
parent: 7a1a90f46e6c7de5ce85bac73ecc8c4931900d7c
author: sirjofri <sirjofri@sirjofri.de>
date: Tue Jul 22 17:20:03 EDT 2025

also sign off user after disconnecting. This should later also happen manually by using the QUIT command

--- a/ircd.c
+++ b/ircd.c
@@ -151,6 +151,8 @@
 	c = findclient(fid->fid);
 	if (!c)
 		return;
+	if (c->user)
+		deluser(c->user);
 	delclient(c);
 }
 
--