summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2020-04-21 22:31:12 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-04-21 22:34:42 +0200
commit100440c8a1ff15dd7d9d42cbdf591647a2ee6bf7 (patch)
tree8c6e467ff6595293af9eeb68a362c50090118147 /src/core/wee-command.c
parentde1e61f7cd50cbd1a99777fe6611642a51abf5f6 (diff)
downloadweechat-100440c8a1ff15dd7d9d42cbdf591647a2ee6bf7.zip
core: restore signal "signal_sighup", and if eaten do not reload configuration
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 1aba43edc..165351908 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -5197,6 +5197,7 @@ void
command_reload_files ()
{
struct t_config_file *ptr_config_file;
+
for (ptr_config_file = config_files; ptr_config_file;
ptr_config_file = ptr_config_file->next_config)
{
@@ -5204,7 +5205,6 @@ command_reload_files ()
}
}
-
/*
* Callback for command "/reload": reloads a configuration file.
*/