]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/protocol.h
Extract command line option parsing to a function.
[user/henk/code/inspircd.git] / include / protocol.h
index a7c727e8c5727463f5b1f300e120398b4d0738a6..c95ea17061bcc60478d9e8aeca08b3d2f6b13421 100644 (file)
@@ -104,7 +104,7 @@ class CoreExport ProtocolInterface
 
        /** Send a message to a channel.
         * @param target The channel to message.
-        * @param status The status character (e.g. %) required to recieve.
+        * @param status The status character (e.g. %) required to receive.
         * @param text The message to send.
         * @param type The message type (MSG_PRIVMSG or MSG_NOTICE)
         */
@@ -119,10 +119,10 @@ class CoreExport ProtocolInterface
 
        /** Send a notice to a channel.
         * @param target The channel to message.
-        * @param status The status character (e.g. %) required to recieve.
+        * @param status The status character (e.g. %) required to receive.
         * @param text The message to send.
         */
-       void SendChannelNotice(Channel* target, char status, const std::string &text)
+       DEPRECATED_METHOD(void SendChannelNotice(Channel* target, char status, const std::string& text))
        {
                SendMessage(target, status, text, MSG_NOTICE);
        }
@@ -131,7 +131,7 @@ class CoreExport ProtocolInterface
         * @param target The user to message.
         * @param text The message to send.
         */
-       void SendUserNotice(User* target, const std::string &text)
+       DEPRECATED_METHOD(void SendUserNotice(User* target, const std::string& text))
        {
                SendMessage(target, text, MSG_NOTICE);
        }