summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 69ae10b29..a6e5d6d31 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -1149,7 +1149,7 @@ command_reload (void *data, void *buffer,
gui_chat_prefix[GUI_CHAT_PREFIX_INFO]);
else
gui_chat_printf (NULL,
- _("%sError: failed to read WeeChat configuration "
+ _("%sError: failed to reload WeeChat configuration "
"file"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]);
@@ -1159,8 +1159,11 @@ command_reload (void *data, void *buffer,
gui_chat_prefix[GUI_CHAT_PREFIX_INFO]);
else
gui_chat_printf (NULL,
- _("%sError: failed to read plugins options"),
+ _("%sError: failed to reload plugins options"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]);
+
+ /* tell to plugins to reload their configuration */
+ (void) hook_event_exec ("config_reload", NULL);
return 0;
}