ircd: conf: properly calculate the number of wsockd to start

This commit is contained in:
William Pitcock 2016-04-02 03:19:45 -05:00
parent fabe8b94c5
commit 34b88b6571

View file

@ -878,7 +878,7 @@ validate_conf(void)
if(ServerInfo.wsockd_count > get_wsockd_count())
{
int start = ServerInfo.wsockd_count - get_ssld_count();
int start = ServerInfo.wsockd_count - get_wsockd_count();
start_wsockd(start);
}