aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Manganelo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Manganelo.cpp b/src/plugins/Manganelo.cpp
index 960caaf..5e53451 100644
--- a/src/plugins/Manganelo.cpp
+++ b/src/plugins/Manganelo.cpp
@@ -163,7 +163,7 @@ namespace QuickMedia {
}
manga_id = url.substr(index + 6);
- if(manga_id.size() <= 2) {
+ if(manga_id.empty()) {
std::string err_msg = "Url ";
err_msg += url;
err_msg += " doesn't contain manga id";