removed redundant IP filter check

This commit is contained in:
Arvid Norberg 2008-08-03 23:04:38 +00:00
parent 7d47ed54eb
commit 10c0956a2f
1 changed files with 0 additions and 11 deletions

View File

@ -1016,17 +1016,6 @@ namespace libtorrent
}
else
{
if (m_ses.m_ip_filter.access(a.address()) & ip_filter::blocked)
{
#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING || defined TORRENT_ERROR_LOGGING
debug_log("blocked ip from tracker: " + i->ip);
#endif
if (m_ses.m_alerts.should_post<peer_blocked_alert>())
m_ses.m_alerts.post_alert(peer_blocked_alert(a.address()));
continue;
}
m_policy.peer_from_tracker(a, i->pid, peer_info::tracker, 0);
}
}