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