diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-26 15:16:01 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-26 15:34:17 +0000 |
commit | e341cac8d6565044f7390852afb40c5e388121df (patch) | |
tree | e80df1e9bc03fc9603f2a985a667652fd0ebf17d /include | |
parent | 83dd96b9f2ea3a10c9c55ecec42d4f7e330643fe (diff) |
Implement support for the IRCv3 +draft/channel-context tag.
Closes #358.
Diffstat (limited to 'include')
-rw-r--r-- | include/protocol.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/protocol.h b/include/protocol.h index cb646aa59..911c78d68 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -194,6 +194,9 @@ public: virtual void SendGlobalNotice(BotInfo *bi, const Server *dest, const Anope::string &msg) = 0; virtual void SendGlobalPrivmsg(BotInfo *bi, const Server *desc, const Anope::string &msg) = 0; + virtual void SendContextNotice(BotInfo *bi, User *target, Channel *context, const Anope::string &msg); + virtual void SendContextPrivmsg(BotInfo *bi, User *target, Channel *context, const Anope::string &msg); + virtual void SendQuit(User *u, const char *fmt, ...) ATTR_FORMAT(3, 4); virtual void SendPing(const Anope::string &servname, const Anope::string &who); virtual void SendPong(const Anope::string &servname, const Anope::string &who); |