diff options
author | Adam <Adam@anope.org> | 2017-05-29 17:38:39 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-05-29 17:38:39 -0400 |
commit | ff81c9bab8e1eddf044d7cb5d06d44b4a43c95d8 (patch) | |
tree | bfed822d690999f2c4458a30a65c232210b1e9cc /src/process.cpp | |
parent | 3f143633541a5361bf5b02b0d69b65447aea7b79 (diff) |
Fixup some compilation warnings
Diffstat (limited to 'src/process.cpp')
-rw-r--r-- | src/process.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process.cpp b/src/process.cpp index 67c5cbf14..7b8bd18e6 100644 --- a/src/process.cpp +++ b/src/process.cpp @@ -58,6 +58,8 @@ void Anope::Process(const Anope::string &buffer) MessageSource src(source); EventReturn MOD_RESULT = EventManager::Get()->Dispatch(&Event::Message::OnMessage, src, command, params); + if (MOD_RESULT == EVENT_STOP) + return; ProcessCommand(src, command, params); } |