Since serverinfo::nicklen only controls NICKLEN_USABLE, we do not need to have a
barrier here.
static void
conf_set_serverinfo_nicklen(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)
ConfigFileEntry.nicklen = (*(unsigned int *) data) + 1;
if (ConfigFileEntry.nicklen > NICKLEN)
ConfigFileEntry.nicklen, NICKLEN);
ConfigFileEntry.nicklen = NICKLEN;
}
ConfigFileEntry.nicklen, NICKLEN);
ConfigFileEntry.nicklen = NICKLEN;
}