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/protocol.cpp | |
parent | 7cba665270958b6e25add883df73df4976259e54 (diff) |
Route message tags into more message functions.
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index cfa03d3d8..bf7d1bc28 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -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) |