diff options
| author | 2007-02-17 20:10:54 +0000 | |
|---|---|---|
| committer | 2007-02-17 20:10:54 +0000 | |
| commit | f911684c7da03ffaa0fbc5335dbe53d05dc05f71 (patch) | |
| tree | 507fc922508107e24a4cbb946d9d860318432978 /include | |
| parent | Remove redundant debug (diff) | |
| download | inspircd++-f911684c7da03ffaa0fbc5335dbe53d05dc05f71.tar.gz inspircd++-f911684c7da03ffaa0fbc5335dbe53d05dc05f71.tar.bz2 inspircd++-f911684c7da03ffaa0fbc5335dbe53d05dc05f71.zip | |
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
Diffstat (limited to 'include')
| -rw-r--r-- | include/users.h | 8 |
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 |
