summaryrefslogtreecommitdiff
path: root/include/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/protocol.h b/include/protocol.h
index 7f36a2917..6a7c8a07f 100644
--- a/include/protocol.h
+++ b/include/protocol.h
@@ -43,6 +43,7 @@ public:
virtual void SendNotice(const MessageSource &source, const Anope::string &dest, const Anope::string &msg, const Anope::map<Anope::string> &tags = {});
virtual void SendPrivmsg(const MessageSource &source, const Anope::string &dest, const Anope::string &msg, const Anope::map<Anope::string> &tags = {});
+ virtual void SendTagmsg(const MessageSource &source, const Anope::string &dest, const Anope::map<Anope::string> &tags);
/** Parses an incoming message from the IRC server.
* @param message The message to parse.
@@ -109,6 +110,9 @@ public:
/** Can we ask the server to unban a user? */
bool CanClearBans = false;
+ /** Can we send tag messages? */
+ bool CanTagMessage = false;
+
/* The maximum length of a channel name. */
size_t MaxChannel = 0;