diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-21 15:34:35 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-22 00:14:08 +0000 |
commit | 85687781d11b7a8fb14cad061e6c635c0bc71ea0 (patch) | |
tree | a35967cf726f560d6a28cdd849c7d124cd28411b /include/modules.h | |
parent | ccfaca32a2ba5f2e2528a2093d17be25507a3ad8 (diff) |
Include tags in OnMessage.
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<Anope::string> ¶m) { throw NotImplementedException(); } + virtual EventReturn OnMessage(MessageSource &source, Anope::string &command, std::vector<Anope::string> ¶ms, Anope::map<Anope::string> &tagss) { throw NotImplementedException(); } /** Called to determine if a channel mode can be set by a user * @param u The user |