summaryrefslogtreecommitdiffstats
path: root/src/Client
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-10-22 20:56:56 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-10-22 20:56:56 +0200
commit1226366351300139f2d8b7c10fee29d744591426 (patch)
treed8b927ce6a75370e741677cf59c1a4b00eab1f01 /src/Client
parent6bd58c61a1668d336f45443c602e850e965ad368 (diff)
downloadmad-1226366351300139f2d8b7c10fee29d744591426.tar
mad-1226366351300139f2d8b7c10fee29d744591426.zip
Alte Split-Funktion durch neuen Tokenizer ersetzt
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;