From 97d5ec038cbab59e59726dc4a80bb1ab148c4cb3 Mon Sep 17 00:00:00 2001 From: Egor Date: Tue, 27 Aug 2024 18:59:09 +0300 Subject: [PATCH] ircfmt: null nickname for 433 --- src/ircfmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ircfmt.c b/src/ircfmt.c index 91db3ee..969c373 100644 --- a/src/ircfmt.c +++ b/src/ircfmt.c @@ -590,7 +590,7 @@ void err_erroneusnickname(struct client_data *client, const char *nick) // 432 } void err_nicknameinuse(struct client_data *client, const char *nick) // 433 { - copy_strf(&databuf, ":%s 433 %s %s :Nickname is already in use\r\n", hostname, client->nick, nick); + copy_strf(&databuf, ":%s 433 %s %s :Nickname is already in use\r\n", hostname, client->nick ? client->nick : "*", nick); } void err_usernotinchannel(struct client_data *client, const char *nick, struct channel *chan) // 441 { -- 2.56.0