disabled lsd for private torrents

This commit is contained in:
Arvid Norberg
2007-07-23 00:38:31 +00:00
parent 4c8c686a64
commit 3050e35adf
3 changed files with 18 additions and 7 deletions

View File

@@ -1600,6 +1600,8 @@ namespace detail
boost::shared_ptr<torrent> t = find_torrent(ih).lock();
if (!t) return;
// don't add peers from lsd to private torrents
if (t->torrent_file().priv()) return;
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)
(*m_logger) << time_now_string()