

@UploadClient.cpp
- Code: Alles auswählen
// Contrib - PowerShare
//>>> WiZaRd::PowerShare
bool CUpDownClient::IsPowerShared() const
{
// By Taz - no PowerShare for leechers
#ifdef CLIENTANALYZER
if (GetAntiLeechData() && GetAntiLeechData()->GetBadForThisSession(0xff))
return false;
#endif
// <------- no PowerShare for leechers
...
@CUploadQueue::FindBestClientInQueue
- Code: Alles auswählen
...
//>>> WiZaRd::PowerShare
// By Taz - no PowerShare for leechers
#ifdef CLIENTANALYZER
if (file->IsPowerShared() && (cur_client->GetAntiLeechData() && !cur_client->GetAntiLeechData()->GetBadForThisSession(0xff)))
#else
// <------- no PowerShare for leechers
if(file->IsPowerShared())
#endif
{
...
& @CUploadQueue::AddClientToQueue
- Code: Alles auswählen
...
//>>> WiZaRd::PowerShare
// By Taz - no PowerShare for leechers
#ifdef CLIENTANALYZER
!(reqfile->IsPowerShared() && (client->GetAntiLeechData() && !client->GetAntiLeechData()->GetBadForThisSession(0xff))) &&
#else
// <------- no PowerShare for leechers
!reqfile->IsPowerShared() && //>>> WiZaRd::PowerShare
#endif
//<<< WiZaRd::PowerShare
// <-------- PowerShare
...
