diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-07 16:33:08 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-07 16:33:08 +0000 |
commit | 78cd2581e957e05246029b76c2da4ca1261d7d3f (patch) | |
tree | 6c748bbb748384d5d9d797fe9d5eb0355e2eb5ba /include | |
parent | 1fad94bb37c31927bc3152b91c54708bd65e9518 (diff) |
Added servernotice back to the user, informing them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@417 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h index 28c3f525e..8f95e4e86 100644 --- a/include/modules.h +++ b/include/modules.h @@ -276,6 +276,16 @@ class Server : public classbase /** Sends text from a user to another user. * This method writes a line of text to a user, with a user's nick/ident * /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459) + * If you specify NULL as the source, then the data will originate from the + * local server, e.g. instead of: + * + * :user!ident@host TEXT + * + * The format will become: + * + * :localserver TEXT + * + * Which is useful for numerics and server notices to single users, etc. */ virtual void SendTo(userrec* Source, userrec* Dest, std::string s); /** Sends text from a user to a channel (mulicast). |