mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 11:43:13 +02:00
core: fix color of nicks in buffers without nicklist when option weechat.look.color_nick_offline is on
This commit is contained in:
@@ -650,6 +650,9 @@ gui_line_has_offline_nick (struct t_gui_line *line)
|
||||
{
|
||||
nick = gui_line_get_nick_tag (line);
|
||||
if (nick
|
||||
&& (line->data->buffer->nicklist_root
|
||||
&& (line->data->buffer->nicklist_root->nicks
|
||||
|| line->data->buffer->nicklist_root->children))
|
||||
&& !gui_nicklist_search_nick (line->data->buffer, NULL, nick))
|
||||
{
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user