Add "dnrsearch count" action.
[srvx.git] / src / chanserv.h
index d094595fbe6b50b7128b66516ecbd3be31478828..83f310ef47fac57aee8d686cd980ea1a334af7bd 100644 (file)
@@ -65,13 +65,14 @@ enum charOption {
 #define CHANNEL_TOPIC_SNARF    0x00000040 /* (1 << 6) - DEPRECATED */
 #define CHANNEL_PEON_INVITE     0x00000080 /* (1 << 7) - DEPRECATED */
 #define CHANNEL_OFFCHANNEL      0x00000100 /* (1 << 8) */
+#define CHANNEL_UNREVIEWED      0x00000200 /* (1 << 9) */
 /* Flags with values over 0x20000000 or (1 << 29) will not work
  * because chanData.flags is a 30-bit field.
  */
 
 #define IsProtected(x)         ((x)->flags & CHANNEL_NODELETE)
 #define IsSuspended(x)         ((x)->flags & CHANNEL_SUSPENDED)
-#define IsOffChannel(x)         ((x)->flags & CHANNEL_OFFCHANNEL)
+#define IsOffChannel(x)         (((x)->flags & CHANNEL_OFFCHANNEL) && (off_channel > 1))
 
 struct chanData
 {
@@ -163,7 +164,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];
 };