diff options
author | Peter Powell <petpow@saberuk.com> | 2019-11-17 22:37:24 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-11-17 22:37:24 +0000 |
commit | 2ec7654267f8ad127653839ba9aaf369705e3026 (patch) | |
tree | 9955f5c6c820b3c8d81c0078d54afb452729488e /include | |
parent | 8be79c0797a8b12fc1990c09da275bc6f20a9c03 (diff) |
Deprecate Send{Channel,User}Notice; use SendMessage instead.
Diffstat (limited to 'include')
-rw-r--r-- | include/protocol.h | 4 |
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); } |