1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 00:56:38 +02:00

Route message tags into more message functions.

This commit is contained in:
Sadie Powell
2024-02-22 12:00:40 +00:00
parent 7cba665270
commit 7423fa9998
16 changed files with 30 additions and 26 deletions
+2 -2
View File
@@ -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);
}
}