tools/hexnet: argument parser fix

BodgeMaster-unfinished
BodgeMaster 2022-07-13 20:35:33 +02:00
parent 5cb1a52ec4
commit c406555e4e
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ int main(int argc, char* argv[]){
}
if (!listen && i==argc-2) {
host = argument;
continue;
}
if (i==argc-1) {
if (!listen && host=="") {