1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 21:16:39 +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
+4 -4
View File
@@ -117,14 +117,14 @@ void IRCDProto::SendKickInternal(const MessageSource &source, const Channel *c,
Uplink::Send(source, "KICK", c->name, u->GetUID());
}
void IRCDProto::SendNoticeInternal(const MessageSource &source, const Anope::string &dest, const Anope::string &msg)
void IRCDProto::SendNoticeInternal(const MessageSource &source, const Anope::string &dest, const Anope::string &msg, const Anope::map<Anope::string> &tags)
{
Uplink::Send(source, "NOTICE", dest, msg);
Uplink::Send(tags, source, "NOTICE", dest, msg);
}
void IRCDProto::SendPrivmsgInternal(const MessageSource &source, const Anope::string &dest, const Anope::string &buf)
void IRCDProto::SendPrivmsgInternal(const MessageSource &source, const Anope::string &dest, const Anope::string &msg, const Anope::map<Anope::string> &tags)
{
Uplink::Send(source, "PRIVMSG", dest, buf);
Uplink::Send(tags, source, "PRIVMSG", dest, msg);
}
void IRCDProto::SendQuitInternal(User *u, const Anope::string &buf)