1
0
forked from 0ad/0ad

This was SVN commit r15762.

This commit is contained in:
historic_bruno 2014-09-17 23:22:20 +00:00
parent c56407a1f8
commit aa5fded9ae

View File

@ -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);