forked from markus/S_New4
v4.2.2: no | in searchname possible
This commit is contained in:
parent
f16b31cb0d
commit
bcb6283bba
@ -92,7 +92,7 @@ struct Settings {
|
||||
proxy_ip = "127.0.0.1",
|
||||
languages = "GerDub,GerSub,Eng,",
|
||||
genaueHoster = "",
|
||||
version = "4.2.1",
|
||||
version = "4.2.2",
|
||||
defaultFileVersion="1.8",
|
||||
default_checkPath = "",
|
||||
default_Searchmuster = "S%Staffel%E%Folge%";
|
||||
|
@ -672,6 +672,9 @@ int ProgramManager::searchModus(Settings *settings, std::string *saveTo, bool no
|
||||
std::cout << "Aufruf: " << settings->programName << " search [OPTION]... [NAME]..." << std::endl;
|
||||
std::cout << "\"" << settings->programName << " search --help\" liefert weitere Informationen." << std::endl;
|
||||
return 0;
|
||||
} else if(settings->name.find('|') != std::string::npos) {
|
||||
std::cout << " => Error: Fehlerhaftes Zeichen \"|\" im Namen!" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
std::ifstream ifs(settings->serienListPath);
|
||||
|
Loading…
Reference in New Issue
Block a user