]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/chanserv.h
Couple of srvx updates.
[irc/evilnet/x3.git] / src / chanserv.h
index 79f992a23679279f6b77cd46db3c5b5392b4e5a6..1bd586891bd4bdda6933c69a18286d36c830e9ff 100644 (file)
@@ -5,7 +5,7 @@
  *
  * x3 is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -69,6 +69,8 @@ enum charOption {
 #define CHANNEL_PEON_INVITE     0x00000080 /* (1 << 7) - DEPRECATED */
 #define CHANNEL_OFFCHANNEL      0x00000100 /* (1 << 8) */
 #define CHANNEL_HOP_ALL         0x00000200 /* (1 << 9) */
+#define CHANNEL_UNREVIEWED      0x00000400 /* (1 << 10) */
+
 /* Flags with values over 0x20000000 or (1 << 29) will not work
  * because chanData.flags is a 30-bit field.
  */
@@ -98,11 +100,13 @@ struct chanData
     char               *registrar;
     char                *topic_mask;
 
+    unsigned int        maxsetinfo;
     unsigned int       flags : 30;
     unsigned int        may_opchan : 1;
     unsigned int        max;
     unsigned int        last_refresh;
     unsigned int        last_resync;
+    unsigned int        roulette_chamber;
     unsigned short      banCount; /* Lamers, really */
     unsigned short      userCount;
     unsigned short      lvlOpts[NUM_LEVEL_OPTIONS];
@@ -204,7 +208,7 @@ struct do_not_register
 {
     char   chan_name[CHANNELLEN+1];
     char   setter[NICKSERV_HANDLE_LEN+1];
-    time_t set; 
+    time_t set, expires
     char   reason[1];
 };