Browse Source

do not add unknown torrents (unkown user)

miguelfreitas
Miguel Freitas 12 years ago
parent
commit
d6215c7c9f
  1. 3
      src/twister.cpp

3
src/twister.cpp

@ -337,7 +337,8 @@ void ThreadSessionAlerts()
} }
} }
if( dd->m_is_neighbor && m_specialResources.count(dd->m_resource) ) { if( dd->m_is_neighbor && m_specialResources.count(dd->m_resource) &&
neighborCheck.count(ih) ) {
// Do something! // Do something!
printf("Neighbor of special resource - do something!\n"); printf("Neighbor of special resource - do something!\n");
if( dd->m_resource == "tracker" ) { if( dd->m_resource == "tracker" ) {

Loading…
Cancel
Save