diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/relay/relay-config.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/relay/relay-config.c b/src/plugins/relay/relay-config.c index 0ca6c4fa0..67c5cfaa0 100644 --- a/src/plugins/relay/relay-config.c +++ b/src/plugins/relay/relay-config.c @@ -462,7 +462,10 @@ relay_config_reload (void *data, struct t_config_file *config_file) /* make C compiler happy */ (void) data; - return weechat_config_reload (config_file); + weechat_config_section_free_options (relay_config_section_port); + relay_server_free_all (); + + return weechat_config_reload (config_file); } /* |