mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-05 21:59:21 +00:00
Remove deprecated no-target flags for commands.
This commit is contained in:
@@ -15,9 +15,6 @@ ExecFile execFile;
|
||||
|
||||
void
|
||||
RpcManager::object_to_target(const torrent::Object& obj, int call_flags, rpc::target_type* target, std::function<void()>* deleter) {
|
||||
if (call_flags & CommandMap::flag_no_target)
|
||||
return;
|
||||
|
||||
if (!obj.is_string())
|
||||
throw torrent::input_error("invalid parameters: target must be a string");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user