summaryrefslogtreecommitdiff
path: root/src/process.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.cpp')
-rw-r--r--src/process.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.cpp b/src/process.cpp
index 2d7a1561a..d14d8d589 100644
--- a/src/process.cpp
+++ b/src/process.cpp
@@ -14,7 +14,7 @@
#include "protocol.h"
#include "servers.h"
#include "users.h"
-#include "regchannel.h"
+#include "event.h"
void Anope::Process(const Anope::string &buffer)
{
@@ -50,9 +50,9 @@ void Anope::Process(const Anope::string &buffer)
static const Anope::string proto_name = ModuleManager::FindFirstOf(PROTOCOL) ? ModuleManager::FindFirstOf(PROTOCOL)->name : "";
MessageSource src(source);
-
+
EventReturn MOD_RESULT;
- FOREACH_RESULT(OnMessage, MOD_RESULT, (src, command, params));
+ MOD_RESULT = Event::OnMessage(&Event::Message::OnMessage, src, command, params);
if (MOD_RESULT == EVENT_STOP)
return;