mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-19 19:14:55 +00:00
fixed buf with torrents having peers despite being paused .. this is
from upstream svn
This commit is contained in:
parent
810f26395f
commit
9bd479160f
1 changed files with 2 additions and 1 deletions
|
@ -1806,7 +1806,8 @@ namespace libtorrent
|
|||
bool torrent::want_more_peers() const
|
||||
{
|
||||
return int(m_connections.size()) < m_connections_quota.given
|
||||
&& m_ses.m_half_open.free_slots();
|
||||
&& m_ses.m_half_open.free_slots()
|
||||
&& !m_paused;
|
||||
}
|
||||
|
||||
void torrent::disconnect_all()
|
||||
|
|
Loading…
Add table
Reference in a new issue