X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/4f2685f3e152204087a0f5c1963bf36409f7921d..b2ee72e4487d9ec90ff64f63d8f8c3974d96bc5c:/include/tgchange.h diff --git a/include/tgchange.h b/include/tgchange.h index e3e4fcce..7e9bd052 100644 --- a/include/tgchange.h +++ b/include/tgchange.h @@ -25,11 +25,15 @@ #define INCLUDED_tgchange_h #include "ircd_defs.h" +#include "client.h" +#include "channel.h" /* finds a channel where source_p has op or voice and target_p is a member */ struct Channel *find_allowing_channel(struct Client *source_p, struct Client *target_p); /* checks if source_p is allowed to send to target_p */ int add_target(struct Client *source_p, struct Client *target_p); +/* checks if source_p is allowed to send to chptr */ +int add_channel_target(struct Client *source_p, struct Channel *chptr); /* allows source_p to send to target_p */ void add_reply_target(struct Client *source_p, struct Client *target_p);