From ba14dbcd983716a083a855d8e3838f1aea76aa80 Mon Sep 17 00:00:00 2001 From: dingodoppelt Date: Mon, 20 Jul 2020 01:06:41 +0200 Subject: [PATCH] remove spaces from network address given as argument to --connect --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }