summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimmo Saan <simmo.saan@gmail.com>2017-06-03 15:25:45 +0300
committerSimmo Saan <simmo.saan@gmail.com>2017-06-03 15:59:12 +0300
commit7ab6731efebe3083c7606617b5a680b9c7b89da3 (patch)
tree63a921ece79ca4a5c1d6252264d77e1a9e94cc22 /src
parentdab0792029c388e85e3e0cf2cacb07d91aa1ae79 (diff)
downloadweechat-7ab6731efebe3083c7606617b5a680b9c7b89da3.zip
relay: fix relay.network.bind_address change callback not being called
Diffstat (limited to 'src')
-rw-r--r--src/plugins/relay/relay-config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/relay/relay-config.c b/src/plugins/relay/relay-config.c
index c372031ab..6a050e5e8 100644
--- a/src/plugins/relay/relay-config.c
+++ b/src/plugins/relay/relay-config.c
@@ -776,7 +776,9 @@ relay_config_init ()
"interfaces, use \"127.0.0.1\" to allow connections from "
"local machine only)"),
NULL, 0, 0, "", NULL, 0,
- NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ NULL, NULL, NULL,
+ &relay_config_change_network_bind_address_cb, NULL, NULL,
+ NULL, NULL, NULL);
relay_config_network_clients_purge_delay = weechat_config_new_option (
relay_config_file, ptr_section,
"clients_purge_delay", "integer",