mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 09:43:07 -07:00
Fix inverted check when applying the IP filter.
This commit is contained in:
parent
c27108c97a
commit
ae0ec716cb
1 changed files with 1 additions and 1 deletions
|
@ -3200,7 +3200,7 @@ void Session::refresh()
|
||||||
|
|
||||||
void Session::handleIPFilterParsed(int ruleCount)
|
void Session::handleIPFilterParsed(int ruleCount)
|
||||||
{
|
{
|
||||||
if (!m_filterParser) {
|
if (m_filterParser) {
|
||||||
libt::ip_filter filter = m_filterParser->IPfilter();
|
libt::ip_filter filter = m_filterParser->IPfilter();
|
||||||
processBannedIPs(filter);
|
processBannedIPs(filter);
|
||||||
m_nativeSession->set_ip_filter(filter);
|
m_nativeSession->set_ip_filter(filter);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue