mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-08 19:22:29 +00:00
Pass command target when using rpc::call_object with dict_key.
This commit is contained in:
@@ -271,7 +271,7 @@ call_object(const torrent::Object& command, target_type target) {
|
||||
tmp_command.unset_flags(torrent::Object::mask_function);
|
||||
tmp_command.set_flags((flags >> 1) & torrent::Object::mask_function);
|
||||
|
||||
parse_command_execute(make_target(), &tmp_command);
|
||||
parse_command_execute(target, &tmp_command);
|
||||
return commands.call_command(tmp_command.as_dict_key().c_str(), tmp_command.as_dict_obj(), target);
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user