do not add unknown torrents (unkown user)

This commit is contained in:
Miguel Freitas 2013-08-11 19:53:45 -03:00
parent 24fd6a6a8a
commit d6215c7c9f

View File

@ -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!
printf("Neighbor of special resource - do something!\n");
if( dd->m_resource == "tracker" ) {