mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
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.
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user