summaryrefslogtreecommitdiff
path: root/src/plugins/plugins-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/plugins-config.c')
-rw-r--r--src/plugins/plugins-config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/plugins-config.c b/src/plugins/plugins-config.c
index fe97b9de1..ba9416117 100644
--- a/src/plugins/plugins-config.c
+++ b/src/plugins/plugins-config.c
@@ -269,7 +269,7 @@ plugin_config_read ()
pos = strchr (line, '=');
if (pos == NULL)
{
- irc_display_prefix (NULL, NULL, PREFIX_ERROR);
+ irc_display_prefix (NULL, NULL, GUI_PREFIX_ERROR);
gui_printf (NULL,
_("%s %s, line %d: invalid syntax, missing \"=\"\n"),
WEECHAT_WARNING, filename, line_number);
@@ -358,7 +358,7 @@ plugin_config_write ()
if ((file = fopen (filename, "w")) == NULL)
{
- irc_display_prefix (NULL, NULL, PREFIX_ERROR);
+ irc_display_prefix (NULL, NULL, GUI_PREFIX_ERROR);
gui_printf (NULL, _("%s cannot create file \"%s\"\n"),
WEECHAT_ERROR, filename);
free (filename);