X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fprotocol.h;h=c95ea17061bcc60478d9e8aeca08b3d2f6b13421;hb=20fa9e1038ee3d5c2d0c89bf7e8e6dcda0644aa6;hp=f98f6b37d4d40a90e344471f9ae0854eacd0eec0;hpb=e57d1b19ff4823b7885eb7f4d3b37c84d2edca0e;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/protocol.h b/include/protocol.h index f98f6b37d..c95ea1706 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -122,7 +122,7 @@ class CoreExport ProtocolInterface * @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); }