when adding a torrent, set the default torrent speed limit to the global speed limit (the limit will still be disabled)
This commit is contained in:
parent
d0a57ce9d2
commit
3f89538e28
|
@ -619,7 +619,9 @@ torrentRealInit( tr_torrent * tor, const tr_ctor * ctor )
|
|||
if( !( loaded & TR_FR_SPEEDLIMIT ) )
|
||||
{
|
||||
tr_torrentUseSpeedLimit( tor, TR_UP, FALSE );
|
||||
tr_torrentSetSpeedLimit( tor, TR_UP, tr_sessionGetSpeedLimit( tor->session, TR_UP ) );
|
||||
tr_torrentUseSpeedLimit( tor, TR_DOWN, FALSE );
|
||||
tr_torrentSetSpeedLimit( tor, TR_DOWN, tr_sessionGetSpeedLimit( tor->session, TR_DOWN ) );
|
||||
tr_torrentUseSessionLimits( tor, TRUE );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue