X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fdefines.h;h=3850b5810a0c8ad67e379339207bfe45ada45b97;hb=d38d153f;hp=dcdd440c45b606f3c67d475f9fcc106d9c123532;hpb=53917fa4b80753fc189ed5a516c06c804f2cf415;p=ngircd-alex.git diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h index dcdd440c..3850b581 100644 --- a/src/ngircd/defines.h +++ b/src/ngircd/defines.h @@ -77,6 +77,9 @@ /** Name of the MOTD file. */ #define MOTD_FILE "/ngircd.motd" +/** Name of the help file. */ +#define HELP_FILE "/Commands.txt" + /** Default chroot() directory. */ #define CHROOT_DIR "" @@ -99,7 +102,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