Some minor query leated changes

This commit is contained in:
WolverinDEV
2019-10-14 16:30:34 +02:00
parent e46e521e9b
commit 08ba917d02
4 changed files with 47 additions and 17 deletions
+1 -1
View File
@@ -784,7 +784,7 @@ bool ConnectedClient::handleCommandFull(Command& cmd, bool disconnectOnFail) {
system_clock::time_point start, end;
start = system_clock::now();
#ifdef PKT_LOG_CMD
logTrace(this->getServerId(), "{}[Command][Client -> Server] Processing command: {}", CLIENT_STR_LOG_PREFIX, cmd.build(false));
logTrace(this->getServerId() == 0 ? LOG_QUERY : this->getServerId(), "{}[Command][Client -> Server] Processing command: {}", CLIENT_STR_LOG_PREFIX, cmd.build(false));
#endif
CommandResult result;