revert mistake

This commit is contained in:
Arvid Norberg 2012-03-09 02:18:46 +00:00
parent 9288f08826
commit e08718428e
1 changed files with 1 additions and 1 deletions

View File

@ -4751,7 +4751,7 @@ namespace libtorrent
{
if (m_disconnecting) return;
if (m_channel_state[upload_channel] & peer_info::bw_network) return;
if (m_channel_state[upload_channel] & (peer_info::bw_network | peer_info::bw_limit)) return;
shared_ptr<torrent> t = m_torrent.lock();