1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-06-26 15:12:51 +00:00

Fixed maximum length of user names, now allow up to 9 characters. [from HEAD]

This commit is contained in:
Alexander Barton 2005-07-05 22:58:25 +00:00
parent 8ff1a4b666
commit d74029851f
2 changed files with 5 additions and 3 deletions

View File

@ -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 $

View File

@ -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 */