/* Channel mode manipulation */
#define KEYLEN 23
+#define NOFLOODLEN 15
#define CHANNELLEN 200
typedef unsigned long chan_mode_t;
/* Rules for struct mod_chanmode:
#endif
char new_key[KEYLEN + 1];
char new_altchan[CHANNELLEN + 1];
+ char new_noflood[NOFLOODLEN + 1];
char new_upass[KEYLEN + 1];
char new_apass[KEYLEN + 1];
struct {
#define MCP_IGN_REGISTERED 0x0080 /* chan is already registered; ignore changes to MODE_REGISTERED */
#define MC_ANNOUNCE 0x0100 /* send a mod_chanmode() change out */
#define MC_NOTIFY 0x0200 /* make local callbacks to announce */
+#define MCP_OPERMODE 0x0400
#ifdef NDEBUG
#define mod_chanmode_init(CHANMODE) do { memset((CHANMODE), 0, sizeof(*CHANMODE)); } while (0)
#else