]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/protocol.h
Add protocol api functions: PI->WriteChannelPrivmsg() and PI->WriteChannelNotice...
[user/henk/code/inspircd.git] / include / protocol.h
index 44964e1e82e8e4f9ccc7c3a798e9df59a22b0cde..6f9cf8022eba3664e7a0fec5e9d4fdeca608c019 100644 (file)
@@ -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