]> arthur.barton.de Git - ngircd.git/commitdiff
Fixed maximum length of user names, now allow up to 9 characters. [from HEAD]
authorAlexander Barton <alex@barton.de>
Tue, 5 Jul 2005 22:58:25 +0000 (22:58 +0000)
committerAlexander Barton <alex@barton.de>
Tue, 5 Jul 2005 22:58:25 +0000 (22:58 +0000)
ChangeLog
src/ngircd/defines.h

index e726a1233655868a94cccba1c1c79856e4d0bfdf..ebf0ed3ef396d55d043b4cc213c3fd5186fc1a8b 100644 (file)
--- a/ChangeLog
+++ b/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 $
index 469136e0e1f6178f7eb5a3b5f5be39e3ab3028e5..59cb0d1ef57ccbbd8f77ac9aebf0bcf5fa420433 100644 (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 */