ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/user.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/user.c (file contents):
Revision 9763 by michael, Sun Nov 29 16:51:58 2020 UTC vs.
Revision 9764 by michael, Mon Nov 30 18:07:41 2020 UTC

# Line 383 | Line 383 | register_local_user(struct Client *clien
383  
384    if (valid_username(client->username, true) == false)
385    {
386 <    char buf[IRCD_BUFSIZE];
386 >    char buf[sizeof("Invalid username []") + sizeof(client->username)];
387  
388      sendto_realops_flags(UMODE_REJ, L_ALL, SEND_NOTICE,
389                           "Invalid username: %s (%s@%s)",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines