summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-27 15:21:08 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-27 15:21:08 +0000
commitb10ac3beb62b0b705797061f87d66ced6fc2e8d0 (patch)
treec1215055fb5b2c197ba585f0cc33b0a8ee0e83ef /include/modules.h
parent84b702f39522342c32c7e7f836fdd2ff8f25a721 (diff)
Added a Server:: method to send server notices to channels
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1214 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h
index a68b6e9b8..9efb47670 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -680,6 +680,10 @@ class Server : public classbase
* as used by numerics (see RFC 1459)
*/
virtual void SendServ(int Socket, std::string s);
+ /** Writes text to a channel, but from a server, including all.
+ * This can be used to send server notices to a group of users.
+ */
+ virtual void SendChannelServerNotice(std::string ServName, chanrec* Channel, std::string text);
/** Sends text from a user to a socket.
* This method writes a line of text to an established socket, with the given user's nick/ident
* /host combination prepended, as used in PRIVSG etc commands (see RFC 1459)