1
0
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:
Sebastien Helleu
2012-06-09 11:31:06 +02:00
parent 200652836b
commit d8c9013aff
+3
View File
@@ -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;