From d6215c7c9fefc60bc6770d581b762f3eca6ba3d6 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sun, 11 Aug 2013 19:53:45 -0300 Subject: [PATCH] do not add unknown torrents (unkown user) --- src/twister.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/twister.cpp b/src/twister.cpp index 0a589e79..2d3a762c 100644 --- a/src/twister.cpp +++ b/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! printf("Neighbor of special resource - do something!\n"); if( dd->m_resource == "tracker" ) {