X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=include%2Fsend.h;h=0d550f25657c07d6d0d7771516c6c222415b90a6;hp=3d05ef9180881846a767f7c551544addb9660a3c;hb=HEAD;hpb=c3727b053aa20cecf3984cc0c9c23b0140edf52c diff --git a/include/send.h b/include/send.h index 3d05ef9..0d550f2 100644 --- a/include/send.h +++ b/include/send.h @@ -61,6 +61,13 @@ extern void sendcmdto_common_channels_butone(struct Client *from, const char *tok, struct Client *one, const char *pattern, ...); + +/* Send command to all channels user is on (check audit) */ +extern void sendcmdto_common_channels_butone_audit(struct Client *from, + const char *cmd, + const char *tok, + struct Client *one, + const char *pattern, ...); /* Send command to all channel users on this server */ extern void sendcmdto_channel_butserv_butone(struct Client *from, @@ -91,6 +98,7 @@ extern void sendcmdto_channel_butone(struct Client *from, const char *cmd, #define SKIP_NONOPS 0x04 /**< skip users that aren't chanops */ #define SKIP_NONVOICES 0x08 /**< skip users that aren't voiced (includes chanops) */ +#define SKIP_OPS 0x10 /**< skip users that are chanops */ /* Send command to all users having a particular flag set */ extern void sendwallto_group_butone(struct Client *from, int type,