X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fdefines.h;h=ff849bbeacb2b157c1a747b6a3f0783bafe612b5;hb=85dc4d87770f821b777f5dbf6372956dbffc770c;hp=a140c9d16a54eee20a197893ba01a45d5be9141a;hpb=40ed94a1f23aa120cb80bcf8224cef69124909f1;p=ngircd-alex.git diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h index a140c9d1..ff849bbe 100644 --- a/src/ngircd/defines.h +++ b/src/ngircd/defines.h @@ -109,6 +109,10 @@ #else # define CLIENT_USER_LEN 10 #endif +/** Max. length of user names saved for authentication (used by PAM) */ +#ifdef PAM +# define CLIENT_AUTHUSER_LEN 64 +#endif /** Max. length of "real names" (including NULL). */ #define CLIENT_NAME_LEN 32 @@ -173,7 +177,7 @@ #endif /** Supported user modes. */ -#define USERMODES "abBcCFioqrRswx" +#define USERMODES "abBcCFiIoqrRswx" /** Supported channel modes. */ #define CHANMODES "abehiIklmMnoOPqQrRstvVz"