fixed propagation of user mode changes (user should ALWAYS be notified)
[ircu2.10.12-pk.git] / include / send.h
index 3d05ef9180881846a767f7c551544addb9660a3c..0d550f25657c07d6d0d7771516c6c222415b90a6 100644 (file)
@@ -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,