From aa5fded9ae164fdee9d2039eaeb275e2dc760a9d Mon Sep 17 00:00:00 2001 From: historic_bruno Date: Wed, 17 Sep 2014 23:22:20 +0000 Subject: [PATCH] This was SVN commit r15762. --- source/ps/GameSetup/GameSetup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ps/GameSetup/GameSetup.cpp b/source/ps/GameSetup/GameSetup.cpp index 2a08670213..00bf62d4f9 100644 --- a/source/ps/GameSetup/GameSetup.cpp +++ b/source/ps/GameSetup/GameSetup.cpp @@ -1431,7 +1431,7 @@ bool Autostart(const CmdLineArgs& args) g_NetClient->SetUserName(userName); CStr ip = args.Get("autostart-client"); - if (ip == "") + if (ip.empty()) ip = "127.0.0.1"; bool ok = g_NetClient->SetupConnection(ip);