increased MAXBANS definition
[srvx.git] / src / hash.h
index 510f5f78463af91607c79ddbb6e93c510bc845d0..da4b40f53b2a9628e88189078ef481a360b7354f 100644 (file)
@@ -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 */
 #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
 #define REALLEN         50
-#define TOPICLEN        250
+#define TOPICLEN        500
 #define CHANNELLEN      200
 #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 */