summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/protocolinterface.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-04 14:37:23 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-04 14:37:23 +0000
commit001861f5d2aca21531b0a20a46e44654a45a5522 (patch)
treec65b5bde81dd2af13d873ca2d7a993348ec997b5 /src/modules/m_spanningtree/protocolinterface.h
parent463979eb86f2f626a0a6c7b0b9742a86b35c7faa (diff)
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
Diffstat (limited to 'src/modules/m_spanningtree/protocolinterface.h')
-rw-r--r--src/modules/m_spanningtree/protocolinterface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/protocolinterface.h b/src/modules/m_spanningtree/protocolinterface.h
index 754e1bf6f..29d669da9 100644
--- a/src/modules/m_spanningtree/protocolinterface.h
+++ b/src/modules/m_spanningtree/protocolinterface.h
@@ -9,6 +9,7 @@ class SpanningTreeProtocolInterface : public ProtocolInterface
{
SpanningTreeUtilities* Utils;
ModuleSpanningTree* Module;
+ void SendChannel(Channel* target, char status, const std::string &text);
public:
SpanningTreeProtocolInterface(ModuleSpanningTree* mod, SpanningTreeUtilities* util, InspIRCd* Instance) : ProtocolInterface(Instance), Utils(util), Module(mod) { }
virtual ~SpanningTreeProtocolInterface() { }
@@ -21,6 +22,8 @@ class SpanningTreeProtocolInterface : public ProtocolInterface
virtual void SendModeNotice(const std::string &modes, const std::string &text);
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