diff --git a/pageManager.cpp b/pageManager.cpp index 49b05e3..0a24598 100644 --- a/pageManager.cpp +++ b/pageManager.cpp @@ -225,7 +225,7 @@ std::string PageManager::checkName(std::string Name) } else if (html.find("404 - Seite nicht gefunden") != std::string::npos) { std::cout << "\33[2K\r => Error: Ungültiger Name: " << Name << std::endl; return "-1"; - } else if (html == "-1") { + } else if (html == "-1" || html == "") { return "-1"; } else {