Browse Source

Fix inverted check when applying the IP filter.

adaptive-webui-19844
sledgehammer999 8 years ago
parent
commit
ae0ec716cb
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2
  1. 2
      src/base/bittorrent/session.cpp

2
src/base/bittorrent/session.cpp

@ -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…
Cancel
Save