From 8a9e8ecc885fe254234a42b692f8c2e20d5c24a5 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 4 Nov 2005 11:53:23 +0000 Subject: - added major feature: new color management system (internal to WeeChat), now colors are displayed by WeeChat (optional by new settings irc_colors_receive and irc_colors_send) - fixed IRC command 367 - added IRC command 382 --- src/plugins/plugins-interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/plugins-interface.c b/src/plugins/plugins-interface.c index 66728d611..b65cdb540 100644 --- a/src/plugins/plugins-interface.c +++ b/src/plugins/plugins-interface.c @@ -482,7 +482,7 @@ weechat_plugin_get_config_str_value (t_config_option *option, void *value) return option->array_values[*((int *)value)]; break; case OPTION_TYPE_COLOR: - color_name = gui_get_color_by_value (*((int *)value)); + color_name = gui_get_color_name (*((int *)value)); return (color_name) ? strdup (color_name) : strdup (""); break; case OPTION_TYPE_STRING: -- cgit v1.2.3