forked from markus/S_New4
add check in checkNameFunction
This commit is contained in:
parent
fce2707f54
commit
2b6af638c0
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user