]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/channel.h
Automated merge with ssh://hg@bitbucket.org/uranium/shadowircd/
[irc/rqf/shadowircd.git] / include / channel.h
index c7a6ecf3bc7cc70c5d31045b16b358b0b05f7021..93001a3ca0a3417d091b66a48f025fc5ff429ab3 100644 (file)
@@ -176,6 +176,7 @@ typedef int (*ExtbanFunc)(const char *data, struct Client *client_p,
 #define MODE_NOACTION  0x32000 /* Block CTCP ACTION directed to this channel */
 #define MODE_NOKICK    0x64000 /* Disable /kick on this channel */
 #define MODE_NONICK    0x128000 /* Disable /nick for anyone on this channel */
+#define MODE_NOCAPS    0x256000 /* Block messages in all capital letters */
 
 #define CHFL_BAN        0x10000000     /* ban channel flag */
 #define CHFL_EXCEPTION  0x20000000     /* exception to ban channel flag */
@@ -242,6 +243,8 @@ extern void del_invite(struct Channel *chptr, struct Client *who);
 
 const char *channel_modes(struct Channel *chptr, struct Client *who);
 
+extern int has_common_channel(struct Client *client1, struct Client *client2);
+
 extern struct Channel *find_bannickchange_channel(struct Client *client_p);
 
 extern struct Channel *find_nonickchange_channel(struct Client *client_p);