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

index 6ed01dad0e7194e9e4b872c29e32e5cd52b4b033..4cfc777a6cc7f648b67fb56053293ab5074d9ab0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,7 @@ ngIRCd CVSHEAD
 
 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
@@ -612,4 +613,4 @@ ngIRCd 0.0.1, 31.12.2001
 
 
 -- 
-$Id: ChangeLog,v 1.277 2005/07/02 14:46:38 alex Exp $
+$Id: ChangeLog,v 1.278 2005/07/05 22:44:47 alex Exp $
index d02ca5bdeac12cefdd64af02470b7215ba85376e..e05a6d12b89c049a69c2062249da67b465c3f89e 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.53 2005/07/02 14:33:45 alex Exp $
+ * $Id: defines.h,v 1.54 2005/07/05 22:44:47 alex Exp $
  */
 
 
@@ -50,7 +50,8 @@
 #define CLIENT_NICK_LEN 10             /* Max. nick length, see. RFC 2812
                                           section 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 */