summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-05-02 16:31:21 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-05-02 16:31:21 +0200
commitc417d6e13503f0c2adffb24ca675ebeaabf9cce4 (patch)
tree0e702ed610a32a85594639e12745a306ee0303ef
parent97bc4b6eed4e2f33139e3055513fa9a9c204d66a (diff)
downloadweechat-c417d6e13503f0c2adffb24ca675ebeaabf9cce4.zip
irc: fix nick color in private when option irc.look.nick_color_force is changed
-rw-r--r--ChangeLog4
-rw-r--r--src/plugins/irc/irc-config.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6f75da2fa..368cbb127 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
-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;
+ }
}
}