mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
when adding a torrent through rpc, respect the paused flag (although now a torrent cannot be added in the "queued" state)
This commit is contained in:
parent
24b75a7d74
commit
1716f3c55d
1 changed files with 0 additions and 2 deletions
|
@ -4297,8 +4297,6 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
|
||||
Torrent * torrent = [[Torrent alloc] initWithTorrentStruct: torrentStruct location: location lib: fLib];
|
||||
|
||||
[torrent setWaitToStart: [fDefaults boolForKey: @"AutoStartDownload"]];
|
||||
|
||||
[torrent update];
|
||||
[fTorrents addObject: torrent];
|
||||
[torrent release];
|
||||
|
|
Loading…
Reference in a new issue