diff options
author | Adam <Adam@anope.org> | 2014-04-20 14:35:14 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-04-20 14:35:14 -0400 |
commit | 26ac315192e0d8a04d50e910697ab794eedf0cc1 (patch) | |
tree | b9916f14fe35ce5c4de95c4194ca4ea0cb30812f /src/process.cpp | |
parent | 0b6476f06ff9ce06545c421143c7d7163c750aa5 (diff) |
New event system
Diffstat (limited to 'src/process.cpp')
-rw-r--r-- | src/process.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process.cpp b/src/process.cpp index 16373b144..2308dc47d 100644 --- a/src/process.cpp +++ b/src/process.cpp @@ -15,6 +15,7 @@ #include "servers.h" #include "users.h" #include "regchannel.h" +#include "event.h" void Anope::Process(const Anope::string &buffer) { @@ -70,7 +71,7 @@ void Anope::Process(const Anope::string &buffer) 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; |