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-8/src/s_user.c (file contents):
Revision 1309 by michael, Sun Mar 25 11:24:18 2012 UTC vs.
Revision 1431 by michael, Sat Jun 9 19:15:10 2012 UTC

# Line 728 | Line 728 | valid_nickname(const char *nickname, con
728      if (!IsNickChar(*p))
729        return 0;
730  
731 <  return p - nickname <= (NICKLEN - 1);
731 >  return p - nickname <= NICKLEN;
732   }
733  
734   /* report_and_set_user_flags()
# Line 1354 | Line 1354 | init_isupport(void)
1354    add_isupport("DEAF", "D", -1);
1355    add_isupport("KICKLEN", NULL, KICKLEN);
1356    add_isupport("MODES", NULL, MAXMODEPARAMS);
1357 <  add_isupport("NICKLEN", NULL, NICKLEN-1);
1357 >  add_isupport("NICKLEN", NULL, NICKLEN);
1358   #ifdef HALFOPS
1359    add_isupport("PREFIX", "(ohv)@%+", -1);
1360    add_isupport("STATUSMSG", "@%+", -1);

Diff Legend

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