1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00

Fix inverted check when applying the IP filter.

This commit is contained in:
sledgehammer999 2017-04-17 17:07:12 +03:00
parent c27108c97a
commit ae0ec716cb
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2

View File

@ -3200,7 +3200,7 @@ void Session::refresh()
void Session::handleIPFilterParsed(int ruleCount)
{
if (!m_filterParser) {
if (m_filterParser) {
libt::ip_filter filter = m_filterParser->IPfilter();
processBannedIPs(filter);
m_nativeSession->set_ip_filter(filter);