From ae0ec716cb829f3660e3d79b49a3510c0c3b8296 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Mon, 17 Apr 2017 17:07:12 +0300 Subject: [PATCH] Fix inverted check when applying the IP filter. --- src/base/bittorrent/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index caf7a735a..405fa3c4b 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -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);