mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 16:53:14 +02:00
irc: compute color in case insensitive way (closes #194)
Reintroduce infos "irc_nick_color" and "irc_nick_color_name" (that were marked deprecated since version 1.5). A server name is added in the two infos and is optional, for backward compatibility.
This commit is contained in:
@@ -246,7 +246,8 @@ irc_config_compute_nick_colors ()
|
||||
{
|
||||
if (ptr_nick->color)
|
||||
free (ptr_nick->color);
|
||||
ptr_nick->color = irc_nick_find_color (ptr_nick->name);
|
||||
ptr_nick->color = irc_nick_find_color (ptr_server,
|
||||
ptr_nick->name);
|
||||
}
|
||||
}
|
||||
if (ptr_channel->pv_remote_nick_color)
|
||||
|
||||
Reference in New Issue
Block a user