mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-14 06:02:31 +00:00
* Cleaned up the 'umask' command and renamed 'working_directory' to
'cwd'.
* Added 'd.{get,set}_custom[1-5]' for user scripts.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@963 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -174,6 +174,12 @@ DownloadFactory::receive_success() {
|
||||
|
||||
initialize_rtorrent(download, rtorrent);
|
||||
|
||||
if (!rtorrent->has_key_string("custom1")) rtorrent->insert_key("custom1", std::string());
|
||||
if (!rtorrent->has_key_string("custom2")) rtorrent->insert_key("custom2", std::string());
|
||||
if (!rtorrent->has_key_string("custom3")) rtorrent->insert_key("custom3", std::string());
|
||||
if (!rtorrent->has_key_string("custom4")) rtorrent->insert_key("custom4", std::string());
|
||||
if (!rtorrent->has_key_string("custom5")) rtorrent->insert_key("custom5", std::string());
|
||||
|
||||
// Move to 'rtorrent'.
|
||||
rpc::call_command_d("d.set_connection_leech", download, m_variables["connection_leech"]);
|
||||
rpc::call_command_d("d.set_connection_seed", download, m_variables["connection_seed"]);
|
||||
|
||||
Reference in New Issue
Block a user