X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/878733fd68ee18e371462e7952ad21e7fd84c96b..16d76e865937e900b4649c18cf1189ddf76ca1bf:/include/tgchange.h diff --git a/include/tgchange.h b/include/tgchange.h index e3e4fcc..b2cc684 100644 --- a/include/tgchange.h +++ b/include/tgchange.h @@ -30,6 +30,8 @@ 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);