a newly-added torrent should always follow the global ratio setting
This commit is contained in:
parent
39b0108366
commit
b9ff19ba38
|
@ -594,8 +594,7 @@ torrentRealInit( tr_session * session,
|
||||||
|
|
||||||
if( !( loaded & TR_FR_RATIOLIMIT ) )
|
if( !( loaded & TR_FR_RATIOLIMIT ) )
|
||||||
{
|
{
|
||||||
tr_torrentSetRatioMode( tor, tr_sessionIsRatioLimited( tor-> session )
|
tr_torrentSetRatioMode( tor, TR_RATIOLIMIT_GLOBAL );
|
||||||
? TR_RATIOLIMIT_GLOBAL : TR_RATIOLIMIT_UNLIMITED );
|
|
||||||
tr_torrentSetRatioLimit( tor, tr_sessionGetRatioLimit( tor->session ) );
|
tr_torrentSetRatioLimit( tor, tr_sessionGetRatioLimit( tor->session ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue