diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-22 12:00:40 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-22 13:03:53 +0000 |
commit | 7423fa9998d7e7082cac63eda18ae785091ea1b0 (patch) | |
tree | ceda569b8b0148c7cbfca25c71e7e5a0a0d45710 /src/users.cpp | |
parent | 7cba665270958b6e25add883df73df4976259e54 (diff) |
Route message tags into more message functions.
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index fc509ee0a..452d84706 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -346,9 +346,9 @@ void User::SendMessage(BotInfo *source, const Anope::string &msg) for (Anope::string tok; sep.GetToken(tok);) { if (send_privmsg) - IRCD->SendPrivmsg(source, this->GetUID(), "%s", tok.c_str()); + IRCD->SendPrivmsgInternal(source, this->GetUID(), tok); else - IRCD->SendNotice(source, this->GetUID(), "%s", tok.c_str()); + IRCD->SendNoticeInternal(source, this->GetUID(), tok); } } |