forked from premiere/premiere-libtorrent
fix to announce with DHT for torrents without metadata
This commit is contained in:
parent
92ed7fb364
commit
aedc92cb24
|
@ -348,7 +348,7 @@ namespace libtorrent
|
|||
if (m_ses.m_listen_sockets.empty()) return false;
|
||||
|
||||
if (!m_ses.m_dht) return false;
|
||||
if (!m_files_checked) return false;
|
||||
if (m_torrent_file->is_valid() && !m_files_checked) return false;
|
||||
|
||||
// don't announce private torrents
|
||||
if (m_torrent_file->is_valid() && m_torrent_file->priv()) return false;
|
||||
|
|
Loading…
Reference in New Issue