]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/channel.h
Add TODO for ShadowIRCd 6.0
[irc/rqf/shadowircd.git] / include / channel.h
index 55703f7caba42164f5bd2e8ca59ebd31dc56f691..d9c46e2187132a5cc19ca80889062ec82bf68805 100644 (file)
@@ -26,8 +26,6 @@
 
 #ifndef INCLUDED_channel_h
 #define INCLUDED_channel_h
-#include "config.h"            /* config settings */
-#include "ircd_defs.h"         /* buffer sizes */
 
 #define MODEBUFLEN      200
 
@@ -56,7 +54,6 @@ struct Channel
        char *topic;
        char *topic_info;
        time_t topic_time;
-       time_t users_last;      /* when last user was in channel */
        time_t last_knock;      /* don't allow knock to flood */
 
        rb_dlink_list members;  /* channel members */
@@ -174,6 +171,8 @@ typedef int (*ExtbanFunc)(const char *data, struct Client *client_p,
 #define MODE_FREEINVITE 0x0800  /* allow free use of /invite */
 #define MODE_FREETARGET 0x1000  /* can be forwarded to without authorization */
 #define MODE_DISFORWARD 0x2000  /* disable channel forwarding */
+#define MODE_NOCTCP     0x8000  /* Block CTCPs directed to this channel */
+#define MODE_NONOTICE  0x16000 /* Block notices directed to this channel */
 
 #define CHFL_BAN        0x10000000     /* ban channel flag */
 #define CHFL_EXCEPTION  0x20000000     /* exception to ban channel flag */
@@ -258,8 +257,6 @@ extern void send_cap_mode_changes(struct Client *client_p, struct Client *source
 extern void set_channel_mode(struct Client *client_p, struct Client *source_p,
                struct Channel *chptr, struct membership *msptr, int parc, const char *parv[]);
 
-extern const struct mode_letter chmode_flags[];
-
 extern struct ChannelMode chmode_table[256];
 
 extern int add_id(struct Client *source_p, struct Channel *chptr, const char *banid,