1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

irc: fix display of address in notice messages received

This commit is contained in:
Sébastien Helleu
2021-10-16 16:52:05 +02:00
parent 9b17f1fee4
commit 56cb9e50af
+1 -1
View File
@@ -173,7 +173,7 @@ irc_protocol_nick_address (struct t_irc_server *server,
string[0] = '\0';
if (nickname && address && (strcmp (nickname, address) != 0))
if (nickname && address && address[0] && (strcmp (nickname, address) != 0))
{
/* display nick and address if they are different */
snprintf (string, sizeof (string),