fixed inverse logic for ip filter exemption

This commit is contained in:
Arvid Norberg
2011-03-07 01:20:23 +00:00
parent f90f9f6609
commit 5ea62910ba

View File

@@ -2182,7 +2182,7 @@ namespace aux {
// this filter is ignored if a single torrent
// is set to ignore the filter, since this peer might be
// for that torrent
if (m_non_filtered_torrents > 0
if (m_non_filtered_torrents == 0
&& (m_ip_filter.access(endp.address()) & ip_filter::blocked))
{
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)