aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Mangadex.cpp
diff options
context:
space:
mode:
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 a8318e8..6df0903 100644
--- a/src/plugins/Mangadex.cpp
+++ b/src/plugins/Mangadex.cpp
@@ -145,7 +145,7 @@ namespace QuickMedia {
const rapidjson::Value &chapter = it.value;
const rapidjson::Value &timestamp_json = chapter["timestamp"];
- if(timestamp_json.IsNumber() && timestamp_json.GetInt64() > time_now)
+ if(timestamp_json.IsInt64() && timestamp_json.GetInt64() > time_now)
continue;
const rapidjson::Value &lang_code = chapter["lang_code"];