diff options
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r-- | src/protocol.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index 1c5edd2a4..ad2bef770 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -145,6 +145,12 @@ void IRCDProto::SendPrivmsg(const MessageSource &source, const Anope::string &de Uplink::Send(tags, source, "PRIVMSG", dest, msg.empty() ? " " : msg); } +void IRCDProto::SendTagmsg(const MessageSource &source, const Anope::string &dest, const Anope::map<Anope::string> &tags) +{ + if (CanTagMessage) + Uplink::Send(tags, source, "TAGMSG", dest); +} + void IRCDProto::SendQuit(User *u, const Anope::string &buf) { if (!buf.empty()) |