aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Mangadex.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-14 18:37:00 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-14 18:37:34 +0200
commitd6131b8ba482414be76f2478aea90bd7a4a2379b (patch)
tree9ea48087f0db0d7c956b87d09a93d8b3a335551a /src/plugins/Mangadex.cpp
parent6208faf754b76a7c9a806220c97484ea2e9c0a2e (diff)
Add support for 4chan pass
Diffstat (limited to 'src/plugins/Mangadex.cpp')
-rw-r--r--src/plugins/Mangadex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Mangadex.cpp b/src/plugins/Mangadex.cpp
index 10f689f..4afa89b 100644
--- a/src/plugins/Mangadex.cpp
+++ b/src/plugins/Mangadex.cpp
@@ -241,7 +241,7 @@ namespace QuickMedia {
}
bool Mangadex::save_mangadex_cookies(const std::string &url, const std::string &cookie_filepath) {
- CommandArg cookie_arg = { "-c", std::move(cookie_filepath) };
+ CommandArg cookie_arg = { "-c", cookie_filepath };
std::string server_response;
if(download_to_string(url, server_response, {std::move(cookie_arg)}, use_tor, true) != DownloadResult::OK)
return false;