summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/users.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/users.h b/include/users.h
index 709f4b739..1cdd53e80 100644
--- a/include/users.h
+++ b/include/users.h
@@ -842,11 +842,15 @@ class userrec : public connection
*/
bool ChangeName(const char* gecos);
- /** Send a notice to all local users from this user
+ /** Send a command to all local users from this user
+ * The command given must be able to send text with the
+ * first parameter as a servermask (e.g. $*), so basically
+ * you should use PRIVMSG or NOTICE.
+ * @param command the command to send
* @param text The text format string to send
* @param ... Format arguments
*/
- void NoticeAll(char* text, ...);
+ void SendAll(const char* command, char* text, ...);
/** Compile a channel list for this user, and send it to the user 'source'
* Used internally by WHOIS