Add a warning when using a proxy with UDP enabled

As per the Tox Client Standard.
<https://github.com/Tox/Tox-Client-Standard>
master
Håvard Pettersson 7 years ago
parent 9928d0b8ed
commit f79e8bb4a4

@ -311,6 +311,14 @@ twc_profile_load(struct t_twc_profile *profile)
TOX_PROXY_TYPE_SOCKS5 ? "SOCKS5" :
NULL,
options.proxy_host, options.proxy_port);
if (options.udp_enabled)
weechat_printf(profile->buffer,
"%swarning: Tox is configured to use a proxy, but "
" UDP is not disabled. Your IP address may not be "
"hidden.",
weechat_prefix("error"),
options.proxy_host, options.proxy_port);
}
// try loading data file

Loading…
Cancel
Save