mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 20:06:38 +02:00
irc: remove unneeded check of nick pointer (can not be NULL there)
This commit is contained in:
@@ -936,7 +936,7 @@ IRC_PROTOCOL_CALLBACK(nick)
|
||||
weechat_buffer_set (NULL, "hotlist", "-");
|
||||
|
||||
/* set host for nick if needed */
|
||||
if (ptr_nick && !ptr_nick->host)
|
||||
if (!ptr_nick->host)
|
||||
ptr_nick->host = strdup (address);
|
||||
|
||||
/* change nick and display message on all channels */
|
||||
|
||||
Reference in New Issue
Block a user