summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/plugins-interface.c2
1 files changed, 1 insertions, 1 deletions
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: