From f911684c7da03ffaa0fbc5335dbe53d05dc05f71 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 17 Feb 2007 20:10:54 +0000 Subject: Change /msg $* to have the correct source the same way /notice $* does git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6588 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include') 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 -- cgit v1.3.1-10-gc9f91