wm: ticl

Download patch

ref: 6bbc66e7c0951d7f9ec054179867c4a0d839bb26
parent: 58611c5389c4b4e820b61176617bc7ed1187f1a8
author: libredev <libredev@ircforever.org>
date: Thu Jan 19 16:18:19 EST 2023

fixed error, user doesn't exist

--- a/main.c
+++ b/main.c
@@ -644,6 +644,7 @@
 
 		snprintf(msg, sizeof(msg), "NICK %s\r\n", newnick);
 		for (i = 0; i < netlen; i++) {
+			events[ids[i]].user = newnick;
 			if (ids[i] > 0)
 				writeall(events[ids[i]].fd, msg);
 		}