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
1 changed files with 1 additions and 2 deletions

View File

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