Fix unknown command message not providing number of cmd
authorsapier <sapier at gmx dot net>
Sat, 21 Jan 2017 16:11:06 +0000 (17:11 +0100)
committersapier <sapier at gmx dot net>
Sat, 21 Jan 2017 16:16:22 +0000 (17:16 +0100)
src/content_cao.cpp

index e829fc7614dd85d8dfaa863c33e900bc224364f5..5dc3866cfdd735499627f6f54bd0da38e5e7e8a1 100644 (file)
@@ -1779,7 +1779,7 @@ void GenericCAO::processMessage(const std::string &data)
        } else {
                warningstream << FUNCTION_NAME
                        << ": unknown command or outdated client \""
-                       << cmd << std::endl;
+                       << +cmd << "\"" << std::endl;
        }
 }