1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 00:03:12 +02:00

Fix prefix color in nicklist with nick status (op/voice/..) is changed

This commit is contained in:
Sebastien Helleu
2008-07-09 11:00:49 +02:00
parent 4d76b74ab2
commit abe0e13068
+3 -4
View File
@@ -237,7 +237,6 @@ irc_nick_new (struct t_irc_server *server, struct t_irc_channel *channel,
snprintf (str_prefix_color, sizeof (str_prefix_color),
"weechat.color.nicklist_prefix%d",
prefix_color);
weechat_nicklist_add_nick (channel->buffer, ptr_group,
new_nick->name, "weechat.color.nicklist",
prefix, str_prefix_color, 1);
@@ -288,8 +287,8 @@ irc_nick_change (struct t_irc_server *server, struct t_irc_channel *channel,
irc_nick_get_gui_infos (nick, &prefix, &prefix_color,
channel->buffer, &ptr_group);
snprintf (str_prefix_color, sizeof (str_prefix_color),
"nicklist_prefix%d",
prefix_color);
"weechat.color.nicklist_prefix%d",
prefix_color);
weechat_nicklist_add_nick (channel->buffer, ptr_group,
nick->name, "weechat.color.nicklist",
prefix, str_prefix_color, 1);
@@ -322,7 +321,7 @@ irc_nick_set (struct t_irc_channel *channel,
irc_nick_get_gui_infos (nick, &prefix, &prefix_color,
channel->buffer, &ptr_group);
snprintf (str_prefix_color, sizeof (str_prefix_color),
"nicklist_prefix%d",
"weechat.color.nicklist_prefix%d",
prefix_color);
weechat_nicklist_add_nick (channel->buffer, ptr_group,
nick->name, "weechat.color.nicklist",