diff --git a/src/ClientCommand.cpp b/src/ClientCommand.cpp index 7821150b..1d42ec91 100644 --- a/src/ClientCommand.cpp +++ b/src/ClientCommand.cpp @@ -308,6 +308,7 @@ void CClient::UserCommand(CString& sLine) { } CString sArgs = sLine.Token(1, true); + sArgs.Trim(); CServer *pServer = NULL; if (!sArgs.empty()) {