summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/modules.h3
-rw-r--r--src/process.cpp2
2 files changed, 3 insertions, 2 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> &param) { throw NotImplementedException(); }
+ virtual EventReturn OnMessage(MessageSource &source, Anope::string &command, std::vector<Anope::string> &params, Anope::map<Anope::string> &tagss) { throw NotImplementedException(); }
/** Called to determine if a channel mode can be set by a user
* @param u The user
diff --git a/src/process.cpp b/src/process.cpp
index 9bff1e499..94d2b538a 100644
--- a/src/process.cpp
+++ b/src/process.cpp
@@ -54,7 +54,7 @@ void Anope::Process(const Anope::string &buffer)
MessageSource src(source);
EventReturn MOD_RESULT;
- FOREACH_RESULT(OnMessage, MOD_RESULT, (src, command, params));
+ FOREACH_RESULT(OnMessage, MOD_RESULT, (src, command, params, tags));
if (MOD_RESULT == EVENT_STOP)
return;