X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fdefines.h;fp=src%2Fngircd%2Fdefines.h;h=ad9716fdefb6f2e807d7567911df146f4a43bfd4;hp=dcdd440c45b606f3c67d475f9fcc106d9c123532;hb=1342f78b0901b33c4b8a63b7676b6c5e98f19760;hpb=a0d57a6afd6d9e97388e8336762a3359fa4d80b5 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