From 001861f5d2aca21531b0a20a46e44654a45a5522 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 4 Apr 2008 14:37:23 +0000 Subject: Add protocol api functions: PI->WriteChannelPrivmsg() and PI->WriteChannelNotice() - sends with SID origin over network git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9308 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/protocol.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/protocol.h b/include/protocol.h index 44964e1e8..6f9cf8022 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -54,6 +54,10 @@ class ProtocolInterface : public Extensible virtual void SendSNONotice(const std::string &snomask, const std::string &text) { } virtual void PushToClient(User* target, const std::string &rawline) { } + + virtual void SendChannelPrivmsg(Channel* target, char status, const std::string &text) { } + + virtual void SendChannelNotice(Channel* target, char status, const std::string &text) { } }; #endif -- cgit v1.2.3