summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-11-17 22:37:24 +0000
committerPeter Powell <petpow@saberuk.com>2019-11-17 22:37:24 +0000
commit2ec7654267f8ad127653839ba9aaf369705e3026 (patch)
tree9955f5c6c820b3c8d81c0078d54afb452729488e /src
parent8be79c0797a8b12fc1990c09da275bc6f20a9c03 (diff)
Deprecate Send{Channel,User}Notice; use SendMessage instead.
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index bca1c6a7c..6c58f0617 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -853,7 +853,7 @@ void User::WriteNumeric(const Numeric::Numeric& numeric)
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)