X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Fdefines.h;h=ba7adf17adb204840418b7482b75fef975844138;hb=d21afce2b6fdc919a80c4eb1d6ba781c1cf63f3c;hp=e75866811c3421358c79da33f3af4f15506e80b3;hpb=c5beca8aabab6d1822f63e86e5db02649d7b1a41;p=ngircd-alex.git diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h index e7586681..ba7adf17 100644 --- a/src/ngircd/defines.h +++ b/src/ngircd/defines.h @@ -44,9 +44,12 @@ /** Max. length of file name. */ #define FNAME_LEN 256 -/** Max. lenght of fully qualified host names (e. g. "abc.domain.tld"). */ +/** Max. length of fully qualified host names (e. g. "abc.domain.tld"). */ #define HOST_LEN 256 +/** Max. length of random salt */ +#define RANDOM_SALT_LEN 32 + /* Size of structures */ @@ -158,10 +161,10 @@ #endif /** Supported user modes. */ -#define USERMODES "aciorRswx" +#define USERMODES "aBcCiorRswx" /** Supported channel modes. */ -#define CHANMODES "biIklmnoOPRstvz" +#define CHANMODES "abehiIklmMnoOPqrRstvz" /** Away message for users connected to linked servers. */ #define DEFAULT_AWAY_MSG "Away" @@ -181,6 +184,9 @@ /** Max. number of LIST replies. */ #define MAX_RPL_LIST 100 +/** Max. number of elemets allowed in channel invite and ban lists. */ +#define MAX_HNDL_CHANNEL_LISTS 50 + /** Max. number of channel modes with arguments per MODE command. */ #define MAX_HNDL_MODES_ARG 5