summaryrefslogtreecommitdiff
path: root/trackerlogic.c
diff options
context:
space:
mode:
authorerdgeist <>2007-01-05 17:01:20 +0000
committererdgeist <>2007-01-05 17:01:20 +0000
commite7532408b6ffb91ee366075aba4ef2a9ab74e3ed (patch)
treea259ab8ff5cbc84a51046cd441b04fd8d4bbc758 /trackerlogic.c
parent9f63a7bd634d56e8deb3b6b05cd78e27bfb47a79 (diff)
black listing was the wrong way around
Diffstat (limited to 'trackerlogic.c')
-rw-r--r--trackerlogic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trackerlogic.c b/trackerlogic.c
index 32f0080..9165fb7 100644
--- a/trackerlogic.c
+++ b/trackerlogic.c
@@ -166,7 +166,7 @@ ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ) {
166#endif 166#endif
167 167
168#ifdef WANT_BLACKLIST 168#ifdef WANT_BLACKLIST
169 if( g_check_blacklist && stat( fn - 1, &dummy_sb ) ) 169 if( g_check_blacklist && !stat( fn - 1, &dummy_sb ) )
170 return OT_TORRENT_ON_BLACKLIST; 170 return OT_TORRENT_ON_BLACKLIST;
171#endif 171#endif
172 172