summaryrefslogtreecommitdiff
path: root/src/process.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-05-28 12:07:29 -0400
committerAdam <Adam@anope.org>2014-05-28 12:07:54 -0400
commitf29e1cf383529a1a29f02b0669d973f5ee0b7a66 (patch)
tree3c33db276dc9328235bbd572641521ed44458176 /src/process.cpp
parent1253c70e0682fa1490c99c3d2869049a0e3fa2e0 (diff)
Move most of the core pseudoclient logic to modules
Diffstat (limited to 'src/process.cpp')
-rw-r--r--src/process.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/process.cpp b/src/process.cpp
index 2308dc47d..70849243b 100644
--- a/src/process.cpp
+++ b/src/process.cpp
@@ -14,7 +14,6 @@
#include "protocol.h"
#include "servers.h"
#include "users.h"
-#include "regchannel.h"
#include "event.h"
void Anope::Process(const Anope::string &buffer)
@@ -37,7 +36,7 @@ void Anope::Process(const Anope::string &buffer)
Anope::string command;
if (!buf_sep.GetToken(command))
return;
-
+
Anope::string buf_token;
std::vector<Anope::string> params;
while (buf_sep.GetToken(buf_token))
@@ -69,7 +68,7 @@ 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;
MOD_RESULT = Event::OnMessage(&Event::Message::OnMessage, src, command, params);
if (MOD_RESULT == EVENT_STOP)