diff --git a/src/main.cpp b/src/main.cpp index e0b9a573..1684700f 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; }