diff --git a/Changes b/Changes index 145973120..46bd902a3 100644 --- a/Changes +++ b/Changes @@ -1688,3 +1688,5 @@ Should never happen except when using faulty services or when something else got horrible wrong (like a date which is 40 years ahead). Reported by Darth Android (#0003738). +- Fix NAMES with UHNAMES support, screwed it up at 'Win32 compile fixes' a + few lines up... diff --git a/src/modules/m_names.c b/src/modules/m_names.c index d7eb196d0..5a2547d8e 100644 --- a/src/modules/m_names.c +++ b/src/modules/m_names.c @@ -211,7 +211,7 @@ DLLFUNC CMD_FUNC(m_names) } else { strlcpy(nuhBuffer, make_nick_user_host(acptr->name, acptr->user->username, GetHost(acptr)), - sizeof(bufLen + 1)); + bufLen + 1); s = nuhBuffer; } /* 's' is intialized above to point to either acptr->name (normal),