diff --git a/trackerlogic.c b/trackerlogic.c index 620e056..32f0080 100644 --- a/trackerlogic.c +++ b/trackerlogic.c @@ -166,7 +166,7 @@ ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ) { #endif #ifdef WANT_BLACKLIST - if( stat( fn - 1, &dummy_sb ) ) + if( g_check_blacklist && stat( fn - 1, &dummy_sb ) ) return OT_TORRENT_ON_BLACKLIST; #endif