From 2ec7654267f8ad127653839ba9aaf369705e3026 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 17 Nov 2019 22:37:24 +0000 Subject: Deprecate Send{Channel,User}Notice; use SendMessage instead. --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') 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) -- cgit v1.3.1-10-gc9f91