summaryrefslogtreecommitdiffstats
path: root/src/Client
diff options
context:
space:
mode:
Diffstat (limited to 'src/Client')
-rw-r--r--src/Client/CommandParser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Client/CommandParser.cpp b/src/Client/CommandParser.cpp
index ab3dd50..d75eb0a 100644
--- a/src/Client/CommandParser.cpp
+++ b/src/Client/CommandParser.cpp
@@ -28,6 +28,7 @@
#include <Common/Requests/FSInfoRequest.h>
#include <Common/Requests/DisconnectRequest.h>
#include <Common/Requests/StatusRequest.h>
+#include <Common/Tokenizer.h>
#include <Net/Packets/HostListPacket.h>
#include <Net/Packets/HostStatusPacket.h>
@@ -316,7 +317,7 @@ bool CommandParser::split(const std::string &str, std::vector<std::string> &ret)
bool CommandParser::parse(const std::string &cmd) {
std::vector<std::string> splitCmd;
- split(cmd, splitCmd);
+ Common::Tokenizer::tokenize(cmd, splitCmd);
if(splitCmd.empty())
return true;