- Fixed cloak cutoff problem with long hosts.

This commit is contained in:
Bram Matthys 2006-09-22 18:34:45 +00:00
parent 262e2b2ca6
commit 1db0cc7dcd
2 changed files with 2 additions and 1 deletions

View file

@ -1310,3 +1310,4 @@
- Windows 2003: Fixed UnrealIRCd unable to boot if no DNS server is configured, we now
fallback to set::dns::nameserver in such a case. Thanks to Romeo (reporter, #0002802)
and Bock for tracing this down.
- Fixed cloak cutoff problem with long hosts.

View file

@ -170,7 +170,7 @@ char host[256], *mask, *x, *p, *q;
if (mode == 0)
{
strncpyzt(new, mask, HOSTLEN); /* */
strlcpy(new, mask, HOSTLEN + 1);
return NULL;
}
if (new)