From c417d6e13503f0c2adffb24ca675ebeaabf9cce4 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 2 May 2011 16:31:21 +0200 Subject: irc: fix nick color in private when option irc.look.nick_color_force is changed --- ChangeLog | 4 +++- src/plugins/irc/irc-config.c | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6f75da2fa..368cbb127 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ WeeChat ChangeLog ================= Sébastien Helleu -v0.3.5-rc2, 2011-05-01 +v0.3.5-rc2, 2011-05-02 Version 0.3.5 (under dev!) @@ -63,6 +63,8 @@ Version 0.3.5 (under dev!) (plugins: irc, relay, xfer, scripts) * aspell: add section "option" in aspell.conf for speller options (task #11083) * aspell: fix spellers used after switch of window (bug #32811) +* irc: fix nick color in private when option irc.look.nick_color_force is + changed * irc: fix tags for messages sent with /msg command (bug #33169) * irc: add new options irc.color.topic_old and irc.color.topic_new * irc: add option "ssl_priorities" in servers (task #10106, debian #624055) diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c index 7a8dc0616..b3b3bffab 100644 --- a/src/plugins/irc/irc-config.c +++ b/src/plugins/irc/irc-config.c @@ -192,6 +192,11 @@ irc_config_compute_nick_colors () ptr_nick->color = strdup (irc_nick_find_color (ptr_nick->name)); } } + if (ptr_channel->pv_remote_nick_color) + { + free (ptr_channel->pv_remote_nick_color); + ptr_channel->pv_remote_nick_color = NULL; + } } } -- cgit v1.2.3