X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fhash.h;h=da4b40f53b2a9628e88189078ef481a360b7354f;hb=a3c5403a1dda051a7fae6b604af976b7224182b9;hp=364b5f5736b685cc04bd683489cd5355c74d72cd;hpb=daa82df853f8fcfaf837da0fb7674a535749a44a;p=srvx.git diff --git a/src/hash.h b/src/hash.h index 364b5f5..da4b40f 100644 --- a/src/hash.h +++ b/src/hash.h @@ -47,6 +47,9 @@ #define MODE_NOAMSGS 0x80000 /* +M */ #define MODE_ALTCHAN 0x100000 /* +F */ #define MODE_ACCESS 0x200000 /* +a */ +#define MODE_NOFLOOD 0x400000 /* +f */ +#define MODE_AUDITORIUM 0x800000 /* +u */ +#define MODE_SSLCHAN 0x1000000 /* +S */ #define MODE_REMOVE 0x80000000 #define FLAGS_OPER 0x0001 /* +o global operator */ @@ -98,6 +101,7 @@ #define IsFakeIdent(x) ((x)->fakeident[0] != '\0') #define IsLocal(x) ((x)->uplink == self) +#define NOFLOODLEN 15 #define NICKLEN 30 #define USERLEN 10 #define HOSTLEN 63 @@ -107,7 +111,7 @@ #define MAXOPLEVEL 999 #define MAXMODEPARAMS 6 -#define MAXBANS 45 +#define MAXBANS 999 /* IDLEN is 6 because it takes 5.33 Base64 digits to store 32 bytes. */ #define IDLEN 6 @@ -151,6 +155,7 @@ struct chanNode { unsigned int locks; char key[KEYLEN + 1]; char altchan[CHANNELLEN + 1]; + char noflood[NOFLOODLEN + 1]; char upass[KEYLEN + 1]; char apass[KEYLEN + 1]; unsigned long timestamp; /* creation time */