X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fprotocol.h;h=c95ea17061bcc60478d9e8aeca08b3d2f6b13421;hb=20fa9e1038ee3d5c2d0c89bf7e8e6dcda0644aa6;hp=a7c727e8c5727463f5b1f300e120398b4d0738a6;hpb=384ef31bc01e4a1a2e59d082c9066002410ba54a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/protocol.h b/include/protocol.h index a7c727e8c..c95ea1706 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -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); }