* @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);
}
* @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);
}
void User::WriteRemoteNotice(const std::string& text)
{
- ServerInstance->PI->SendUserNotice(this, text);
+ ServerInstance->PI->SendMessage(this, text, MSG_NOTICE);
}
void LocalUser::WriteRemoteNotice(const std::string& text)