summaryrefslogtreecommitdiff
path: root/include/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h4
1 files changed, 2 insertions, 2 deletions
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);
}