mirror of
git://erdgeist.org/opentracker
synced 2025-01-14 00:40:09 +00:00
really check g_check_blacklist flag
This commit is contained in:
parent
c89cfaad5e
commit
9f63a7bd63
@ -166,7 +166,7 @@ ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WANT_BLACKLIST
|
#ifdef WANT_BLACKLIST
|
||||||
if( stat( fn - 1, &dummy_sb ) )
|
if( g_check_blacklist && stat( fn - 1, &dummy_sb ) )
|
||||||
return OT_TORRENT_ON_BLACKLIST;
|
return OT_TORRENT_ON_BLACKLIST;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user