From 85687781d11b7a8fb14cad061e6c635c0bc71ea0 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 21 Feb 2024 15:34:35 +0000 Subject: Include tags in OnMessage. --- include/modules.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index 3fdcef674..a50ef54a9 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1051,9 +1051,10 @@ public: * @param source The source of the message * @param command The command being executed * @param params Parameters + * @param tags Tags * @return EVENT_STOP to prevent the protocol module from processing this message */ - virtual EventReturn OnMessage(MessageSource &source, Anope::string &command, std::vector ¶m) { throw NotImplementedException(); } + virtual EventReturn OnMessage(MessageSource &source, Anope::string &command, std::vector ¶ms, Anope::map &tagss) { throw NotImplementedException(); } /** Called to determine if a channel mode can be set by a user * @param u The user -- cgit