1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +02:00

irc: remove unneeded check of nick pointer (can not be NULL there)

This commit is contained in:
Sebastien Helleu
2012-12-25 16:58:58 +01:00
parent 45d5034ea0
commit e557239a4c
+1 -1
View File
@@ -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 */