forked from premiere/premiere-libtorrent
fix bug when accepting incoming connections to paused torrents
This commit is contained in:
parent
c26d1631e0
commit
483112bb14
|
@ -1079,8 +1079,8 @@ namespace libtorrent
|
|||
return;
|
||||
}
|
||||
|
||||
if ((!t->allows_peers() && (!t->is_auto_managed()
|
||||
|| !m_ses.m_settings.incoming_starts_queued_torrents))
|
||||
if ((t->is_paused() && (!t->is_auto_managed()
|
||||
|| !m_ses.m_settings.incoming_starts_queued_torrents))
|
||||
|| t->has_error())
|
||||
{
|
||||
// paused torrents will not accept
|
||||
|
|
Loading…
Reference in New Issue