get an updated blocklist url from rpc

This commit is contained in:
Mitchell Livingston 2010-11-05 22:45:38 +00:00
parent 37fd626c17
commit 9774fe9c61
1 changed files with 3 additions and 0 deletions

View File

@ -1113,6 +1113,9 @@ tr_session * fHandle;
const BOOL blocklist = tr_blocklistIsEnabled(fHandle);
[fDefaults setBool: blocklist forKey: @"BlocklistNew"];
NSString * blocklistURL = [NSString stringWithUTF8String: tr_blocklistGetURL(fHandle)];
[fDefaults setObject: blocklistURL forKey: @"BlocklistURL"];
//seed ratio
const BOOL ratioLimited = tr_sessionIsRatioLimited(fHandle);
[fDefaults setBool: ratioLimited forKey: @"RatioCheck"];