diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-05-24 08:00:19 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-05-24 08:00:19 +0200 |
commit | 3092c09bc96438afb005c6ce11b07309a945ebc7 (patch) | |
tree | 3e77f65671126e44b44fbc46eb3003a48e45313d /src/plugins/relay | |
parent | 00179e6244e9fc34437ca12a5c8899fd35352d95 (diff) | |
download | weechat-3092c09bc96438afb005c6ce11b07309a945ebc7.zip |
relay: remove warning on /reload of relay.conf when ports are defined
Diffstat (limited to 'src/plugins/relay')
-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); } /* |