Removed debug output

This commit is contained in:
Torsten Schulz
2017-07-28 21:35:31 +02:00
parent 984f39479f
commit 48e2ff3885

View File

@@ -109,7 +109,6 @@ namespace Yc {
void User::handleMessage(std::string message) { void User::handleMessage(std::string message) {
Json::Value jsonTree = getJsonTree(message); Json::Value jsonTree = getJsonTree(message);
if (jsonTree["token"].asString() != _token) { if (jsonTree["token"].asString() != _token) {
std::cout << "token wrong:" << jsonTree["token"].asString() << "/" << _token << std::endl;
return; return;
} }
if (jsonTree["type"].asString() == "message") { if (jsonTree["type"].asString() == "message") {