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:
parent
7b42eab627
commit
a83486bfe6
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue