aboutsummaryrefslogtreecommitdiffstats
path: root/main/ngircd/client_user_len.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/ngircd/client_user_len.patch')
-rw-r--r--main/ngircd/client_user_len.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/ngircd/client_user_len.patch b/main/ngircd/client_user_len.patch
new file mode 100644
index 0000000000..f2e564e713
--- /dev/null
+++ b/main/ngircd/client_user_len.patch
@@ -0,0 +1,11 @@
+--- ./src/ngircd/defines.h.orig
++++ ./src/ngircd/defines.h
+@@ -40,7 +40,7 @@
+ * section 1.2.1 */
+ #define CLIENT_NICK_LEN 32 /* Maximum nick name length */
+ #define CLIENT_PASS_LEN 21 /* Max. password length */
+-#define CLIENT_USER_LEN 10 /* Max. length of user name ("login")
++#define CLIENT_USER_LEN 64 /* 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 */