diff --git a/macosx/Torrent.m b/macosx/Torrent.m index 41f9b0782..486fd9511 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -1102,7 +1102,7 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80 if (![self privateTorrent]) { fPex = pex; - tr_torrentDisablePex(fHandle, pex); + tr_torrentDisablePex(fHandle, !pex); } }