]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/protocol.h
Fix bad throws and some other stuff in this module
[user/henk/code/inspircd.git] / include / protocol.h
index 6f9cf8022eba3664e7a0fec5e9d4fdeca608c019..16e347ad2481e818c08bce8fcfb5e46826b22d12 100644 (file)
@@ -47,8 +47,6 @@ class ProtocolInterface : public Extensible
                SendMode(target, n);
        }
 
-       virtual void SendOperNotice(const std::string &text) { }
-
        virtual void SendModeNotice(const std::string &modes, const std::string &text) { }
 
        virtual void SendSNONotice(const std::string &snomask, const std::string &text) { }
@@ -58,6 +56,10 @@ class ProtocolInterface : public Extensible
        virtual void SendChannelPrivmsg(Channel* target, char status, const std::string &text) { }
 
        virtual void SendChannelNotice(Channel* target, char status, const std::string &text) { }
+
+       virtual void SendUserPrivmsg(User* target, const std::string &text) { }
+
+       virtual void SendUserNotice(User* target, const std::string &text) { }
 };
 
 #endif