mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-23 17:56:50 +03:00
Always apply filter for manually banned IPs. Related #3988.
This commit is contained in:
parent
4cecb585bc
commit
12072e2b69
1 changed files with 4 additions and 1 deletions
|
@ -635,11 +635,14 @@ void Session::configure()
|
|||
setGlobalMaxRatio(pref->getGlobalMaxRatio());
|
||||
|
||||
// Ip Filter
|
||||
FilterParserThread::processFilterList(m_nativeSession, pref->bannedIPs());
|
||||
if (pref->isFilteringEnabled())
|
||||
enableIPFilter(pref->getFilter());
|
||||
else
|
||||
disableIPFilter();
|
||||
// Add the banned IPs after the possibly disabled IPFilter
|
||||
// which creates an empty filter and overrides all previously
|
||||
// applied bans.
|
||||
FilterParserThread::processFilterList(m_nativeSession, pref->bannedIPs());
|
||||
|
||||
// * Proxy settings
|
||||
libt::proxy_settings proxySettings;
|
||||
|
|
Loading…
Reference in a new issue