Channel suspension, transfer and line wrap changes
[srvx.git] / src / chanserv.h
index 844c5af36e0d4a906173f52284c2f7a305f44780..d094595fbe6b50b7128b66516ecbd3be31478828 100644 (file)
@@ -64,12 +64,14 @@ enum charOption {
 #define CHANNEL_DYNAMIC_LIMIT  0x00000020 /* (1 << 5) */
 #define CHANNEL_TOPIC_SNARF    0x00000040 /* (1 << 6) - DEPRECATED */
 #define CHANNEL_PEON_INVITE     0x00000080 /* (1 << 7) - DEPRECATED */
+#define CHANNEL_OFFCHANNEL      0x00000100 /* (1 << 8) */
 /* 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)
 
 struct chanData
 {
@@ -79,6 +81,7 @@ struct chanData
     time_t             registered;
     time_t             visited;
     time_t             limitAdjusted;
+    time_t              ownerTransfer;
 
     char               *topic;
     char               *greeting;