]> jfr.im git - solanum.git/blobdiff - include/tgchange.h
remove LAST in comment too; it's a bit pointless
[solanum.git] / include / tgchange.h
index e3e4fcce27d0ed645a1b5552659edf2bacf2c1d4..7e9bd052cb3dac30b7959cd3673dd3eb78cc43d9 100644 (file)
 #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);