mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
a newly-added torrent should always follow the global ratio setting
This commit is contained in:
parent
39b0108366
commit
b9ff19ba38
1 changed files with 1 additions and 2 deletions
|
@ -594,8 +594,7 @@ torrentRealInit( tr_session * session,
|
|||
|
||||
if( !( loaded & TR_FR_RATIOLIMIT ) )
|
||||
{
|
||||
tr_torrentSetRatioMode( tor, tr_sessionIsRatioLimited( tor-> session )
|
||||
? TR_RATIOLIMIT_GLOBAL : TR_RATIOLIMIT_UNLIMITED );
|
||||
tr_torrentSetRatioMode( tor, TR_RATIOLIMIT_GLOBAL );
|
||||
tr_torrentSetRatioLimit( tor, tr_sessionGetRatioLimit( tor->session ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue