From 78cd2581e957e05246029b76c2da4ca1261d7d3f Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 7 Apr 2004 16:33:08 +0000 Subject: Added servernotice back to the user, informing them git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@417 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/modules.h') 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). -- cgit v1.2.3