mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixed so that sv_bindaddr works like it should
This commit is contained in:
parent
48d4aa0e89
commit
e7403a6df9
|
@ -914,7 +914,7 @@ static int server_run()
|
|||
}
|
||||
|
||||
/* start server */
|
||||
if(config.sv_bindaddr[0] && net_host_lookup(config.sv_bindaddr, config.sv_port, &bindaddr) != 0)
|
||||
if(config.sv_bindaddr[0] && net_host_lookup(config.sv_bindaddr, config.sv_port, &bindaddr) == 0)
|
||||
{
|
||||
/* sweet! */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue