summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2005-07-05 22:44:47 +0000
committerAlexander Barton <alex@barton.de>2005-07-05 22:44:47 +0000
commite5a19fa3a01ab6b75b725827df402ad6176749b9 (patch)
tree090aae1e4dbe81b08e65d5fabba82d453c734356 /src
parentccb747cb3b35faed571d5bbfcf8ccc74735de98b (diff)
downloadngircd-e5a19fa3a01ab6b75b725827df402ad6176749b9.tar.gz
ngircd-e5a19fa3a01ab6b75b725827df402ad6176749b9.zip
Fixed maximum length of user names, now allow up to 9 characters.
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/defines.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h
index d02ca5bd..e05a6d12 100644
--- a/src/ngircd/defines.h
+++ b/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.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 */