diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-05-02 16:31:21 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-05-02 16:31:21 +0200 |
commit | c417d6e13503f0c2adffb24ca675ebeaabf9cce4 (patch) | |
tree | 0e702ed610a32a85594639e12745a306ee0303ef /src/plugins/irc | |
parent | 97bc4b6eed4e2f33139e3055513fa9a9c204d66a (diff) | |
download | weechat-c417d6e13503f0c2adffb24ca675ebeaabf9cce4.zip |
irc: fix nick color in private when option irc.look.nick_color_force is changed
Diffstat (limited to 'src/plugins/irc')
-rw-r--r-- | src/plugins/irc/irc-config.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; + } } } |