forked from premiere/premiere-libtorrent
fixed inverse logic for ip filter exemption
This commit is contained in:
parent
f90f9f6609
commit
5ea62910ba
|
@ -2182,7 +2182,7 @@ namespace aux {
|
||||||
// this filter is ignored if a single torrent
|
// this filter is ignored if a single torrent
|
||||||
// is set to ignore the filter, since this peer might be
|
// is set to ignore the filter, since this peer might be
|
||||||
// for that torrent
|
// for that torrent
|
||||||
if (m_non_filtered_torrents > 0
|
if (m_non_filtered_torrents == 0
|
||||||
&& (m_ip_filter.access(endp.address()) & ip_filter::blocked))
|
&& (m_ip_filter.access(endp.address()) & ip_filter::blocked))
|
||||||
{
|
{
|
||||||
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)
|
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)
|
||||||
|
|
Loading…
Reference in New Issue