From 7364853c9dfd4c6d4ef6ec0bb85d1609155829ff Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 6 Oct 2013 11:34:49 +0200 Subject: [PATCH] core: remove warning about proxy not found for option weechat.network.proxy_curl on startup Proxies are not yet fully loaded (when reading weechat.conf), so the warning is not displayed on startup, but only when option is changed. --- src/core/wee-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/wee-config.c b/src/core/wee-config.c index a08bcc0a8..70fb8e6e8 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -740,7 +740,7 @@ config_check_proxy_curl (void *data, struct t_config_option *option, (void) data; (void) option; - if (value && value[0] && !proxy_search (value)) + if (gui_init_ok && value && value[0] && !proxy_search (value)) { gui_chat_printf (NULL, _("%sWarning: proxy \"%s\" does not exist (you can "