1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

a newly-added torrent should always follow the global ratio setting

This commit is contained in:
Mitchell Livingston 2009-02-17 01:42:10 +00:00
parent 39b0108366
commit b9ff19ba38

View file

@ -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 ) );
}