summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-08 14:17:35 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-08 14:17:35 +0000
commit6ab1d0dffb8084bf6a2ad8a446a3836fa3760c8a (patch)
treeb29d44792a86a243693034a83326c17b847ecfdc /include/modules.h
parent903ba4e2ebf608737e1890cfa43c3e92a9ec2cf4 (diff)
WriteChannel* functions and ChanExceptSender* functions are now methods of chanrec. They probably should be renamed too eventually.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4788 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/modules.h b/include/modules.h
index ebd810c41..93d911959 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1339,11 +1339,6 @@ class Server : public Extensible
*/
virtual void SendServ(int Socket, const 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(const std::string &ServName, chanrec* Channel, const 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)
@@ -1366,14 +1361,6 @@ class Server : public Extensible
*/
virtual void SendTo(userrec* Source, userrec* Dest, const std::string &s);
- /** Sends text from a user to a channel (mulicast).
- * This method writes a line of text to a channel, with the given user's nick/ident
- * /host combination prepended, as used in PRIVMSG etc commands (see RFC 1459). If the
- * IncludeSender flag is set, then the text is also sent back to the user from which
- * it originated, as seen in MODE (see RFC 1459).
- */
- virtual void SendChannel(userrec* User, chanrec* Channel, const std::string &s, bool IncludeSender);
-
/** Returns true if two users share a common channel.
* This method is used internally by the NICK and QUIT commands, and the Server::SendCommon
* method.
@@ -1531,15 +1518,6 @@ class Server : public Extensible
* action after calling this method is to immediately bail from your handler.
*/
virtual void QuitUser(userrec* user, const std::string &reason);
-
- /** Makes a user kick another user, with the specified reason.
- * If source is NULL, the server will peform the kick.
- * @param The person or server (if NULL) performing the KICK
- * @param target The person being kicked
- * @param chan The channel to kick from
- * @param reason The kick reason
- */
- virtual void KickUser(userrec* source, userrec* target, chanrec* chan, const std::string &reason);
/** Matches text against a glob pattern.
* Uses the ircd's internal matching function to match string against a globbing pattern, e.g. *!*@*.com