Remove nicklen_set barrier.

Since serverinfo::nicklen only controls NICKLEN_USABLE, we do not need to have a
barrier here.
This commit is contained in:
William Pitcock 2011-11-29 16:19:37 -06:00
parent 7b42eab627
commit a83486bfe6

View file

@ -263,11 +263,6 @@ conf_set_serverinfo_vhost6(void *data)
static void
conf_set_serverinfo_nicklen(void *data)
{
static int nicklen_set = 0;
if (nicklen_set)
return;
ConfigFileEntry.nicklen = (*(unsigned int *) data) + 1;
if (ConfigFileEntry.nicklen > NICKLEN)
@ -276,8 +271,6 @@ conf_set_serverinfo_nicklen(void *data)
ConfigFileEntry.nicklen, NICKLEN);
ConfigFileEntry.nicklen = NICKLEN;
}
nicklen_set = 1;
}
static void