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 4707 by michael, Sun Oct 5 16:43:31 2014 UTC vs.
Revision 4709 by michael, Mon Oct 6 16:52:29 2014 UTC

# Line 747 | Line 747 | valid_nickname(const char *nickname, con
747    /*
748     * Nicks can't start with a digit or - or be 0 length.
749     */
750 <  if (*p == '-' || (IsDigit(*p) && local) || *p == '\0')
750 >  if (EmptyString(p) || *p == '-' || (IsDigit(*p) && local))
751      return 0;
752  
753    for (; *p; ++p)

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)