mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-31 15:32:26 +01:00
- Fixed cloak cutoff problem with long hosts.
This commit is contained in:
parent
262e2b2ca6
commit
1db0cc7dcd
2 changed files with 2 additions and 1 deletions
1
Changes
1
Changes
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue