unsigned long maxusers; /* Maximum number of members (mode "l") */
struct list_head list_bans; /* list head of banned users */
struct list_head list_invites; /* list head of invited users */
+ array keyfile; /* Name of the channel key file */
} CHANNEL;
typedef struct _CLIENT2CHAN
GLOBAL void Channel_LogServer PARAMS((char *msg));
-#define Channel_IsLocal(c) (Channel_Name(c)[0] == '&')
+GLOBAL bool Channel_CheckKey PARAMS((CHANNEL *Chan, CLIENT *Client,
+ const char *Key));
+#define Channel_IsLocal(c) (Channel_Name(c)[0] == '&')
+#define Channel_IsModeless(c) (Channel_Name(c)[0] == '+')
#endif