about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/defines.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h
index dcdd440c..ad9716fd 100644
--- a/src/ngircd/defines.h
+++ b/src/ngircd/defines.h
@@ -99,7 +99,11 @@
 #define CLIENT_PASS_LEN 21
 
 /** Max. length of user name ("login"; incl. NULL), RFC 2812, section 1.2.1. */
-#define CLIENT_USER_LEN 10
+#ifndef STRICT_RFC
+# define CLIENT_USER_LEN 20
+#else
+# define CLIENT_USER_LEN 10
+#endif
 
 /** Max. length of "real names" (including NULL). */
 #define CLIENT_NAME_LEN 32