remove spaces from network address given as argument to --connect

This commit is contained in:
dingodoppelt 2020-07-20 01:06:41 +02:00
parent 94055a817b
commit ba14dbcd98

View file

@ -462,7 +462,7 @@ int main ( int argc, char** argv )
"--connect",
strArgument ) )
{
strConnOnStartupAddress = strArgument;
strConnOnStartupAddress = strArgument.simplified().replace( " ", "" );
tsConsole << "- connect on startup to address: " << strConnOnStartupAddress << endl;
continue;
}