commit d74029851f5cdad4886731f18409e6cf9362a21c from: Alexander Barton date: Tue Jul 05 22:58:25 2005 UTC Fixed maximum length of user names, now allow up to 9 characters. [from HEAD] commit - 8ff1a4b66653c4083a278226770c35e8ebe72708 commit + d74029851f5cdad4886731f18409e6cf9362a21c blob - e726a1233655868a94cccba1c1c79856e4d0bfdf blob + ebf0ed3ef396d55d043b4cc213c3fd5186fc1a8b --- ChangeLog +++ ChangeLog @@ -12,6 +12,7 @@ ngIRCd 0.9.x + - Fixed maximum length of user names, now allow up to 9 characters. - Cut off oversized IRC messages that should be sent to the network instead of shuttding down the (wrong) connection. - Don't generate error messages for unknown commands received before the @@ -610,4 +611,4 @@ ngIRCd 0.0.1, 31.12.2001 -- -$Id: ChangeLog,v 1.276.2.2 2005/07/02 14:45:07 alex Exp $ +$Id: ChangeLog,v 1.276.2.3 2005/07/05 22:58:25 alex Exp $ blob - 469136e0e1f6178f7eb5a3b5f5be39e3ab3028e5 blob + 59cb0d1ef57ccbbd8f77ac9aebf0bcf5fa420433 --- src/ngircd/defines.h +++ src/ngircd/defines.h @@ -8,7 +8,7 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. * - * $Id: defines.h,v 1.52.2.1 2005/07/02 14:44:36 alex Exp $ + * $Id: defines.h,v 1.52.2.2 2005/07/05 22:58:25 alex Exp $ * * Global defines of ngIRCd. */ @@ -43,7 +43,8 @@ #define CLIENT_ID_LEN 64 /* max. length of an IRC ID; see RFC 2812, 1.1 and 1.2.1 */ #define CLIENT_NICK_LEN 10 /* max. nick length; see. RFC 2812, 1.2.1 */ #define CLIENT_PASS_LEN 21 /* max. password length */ -#define CLIENT_USER_LEN 9 /* max. length of user name ("login") */ +#define CLIENT_USER_LEN 10 /* Max. length of user name ("login") + see RFC 2812, section 1.2.1 */ #define CLIENT_NAME_LEN 32 /* max. length of "real names" */ #define CLIENT_HOST_LEN 64 /* max. host name length */ #define CLIENT_MODE_LEN 8 /* max. lenth of all client modes */