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:
+2
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user