fixed so that sv_bindaddr works like it should

This commit is contained in:
Magnus Auvinen 2008-03-21 19:10:04 +00:00
parent 48d4aa0e89
commit e7403a6df9

View file

@ -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! */
}