Merge branch 'HostServ' of ssh://git.pk910.de:16110/srvx into HostServ
[srvx.git] / src / hash.h
index 364b5f5736b685cc04bd683489cd5355c74d72cd..dd22ad3f1dd460a6f46ee1a3d85df448cf885777 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
@@ -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 */