diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/channel.h | 2 | ||||
-rw-r--r-- | include/channel_mode.h | 1 | ||||
-rw-r--r-- | include/numeric.h | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/include/channel.h b/include/channel.h index 564533e..8780dbe 100644 --- a/include/channel.h +++ b/include/channel.h @@ -115,7 +115,7 @@ struct Ban extern dlink_list global_channel_list; extern int check_channel_name(const char *, const int); -extern int can_send(struct Channel *, struct Client *, struct Membership *); +extern int can_send(struct Channel *, struct Client *, struct Membership *, const char *); extern int is_banned(const struct Channel *, const struct Client *); extern int can_join(struct Client *, struct Channel *, const char *); extern int has_member_flags(const struct Membership *, const unsigned int); diff --git a/include/channel_mode.h b/include/channel_mode.h index 2bd8ce6..ec705a5 100644 --- a/include/channel_mode.h +++ b/include/channel_mode.h @@ -59,6 +59,7 @@ #define MODE_OPERONLY 0x0080 #define MODE_REGISTERED 0x0100 /* Channel has been registered with ChanServ */ #define MODE_REGONLY 0x0200 +#define MODE_NOCTRL 0x0400 /* cache flags for silence on ban */ #define CHFL_BAN_CHECKED 0x0080 diff --git a/include/numeric.h b/include/numeric.h index fb5da3a..923c91c 100644 --- a/include/numeric.h +++ b/include/numeric.h @@ -180,6 +180,7 @@ extern const char *form_str(unsigned int); #define ERR_TOOMANYCHANNELS 405 #define ERR_WASNOSUCHNICK 406 #define ERR_TOOMANYTARGETS 407 +#define ERR_NOCTRLSONCHAN 408 #define ERR_NOORIGIN 409 #define ERR_INVALIDCAPCMD 410 |