diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2015-11-15 15:58:52 +0100 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2015-11-15 15:58:52 +0100 |
| commit | 9df5f8781eab0c8483e833919ae927abe488179e (patch) | |
| tree | 163dd064160a1f7ce922ee63749c92192fdc7927 /src/CRSMLogging.cpp | |
| parent | 53d9912cb16c458a7cd7c7f09e40bee92bbf6481 (diff) | |
| download | manager-9df5f8781eab0c8483e833919ae927abe488179e.tar.gz manager-9df5f8781eab0c8483e833919ae927abe488179e.zip | |
Fix logging of command response in clonkUserLog
Diffstat (limited to 'src/CRSMLogging.cpp')
| -rw-r--r-- | src/CRSMLogging.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CRSMLogging.cpp b/src/CRSMLogging.cpp index 375010f..8fe0683 100644 --- a/src/CRSMLogging.cpp +++ b/src/CRSMLogging.cpp @@ -92,13 +92,13 @@ void CRSMLogging::clonkUserLog(const QString &message, const ClientInfo &client, { log("Action: " + message + "\n", userLogsFolder + client.toString()); } - else if(command) + else if(response) { - log("Command: " + message + "\n", userLogsFolder + client.toString()); + log("Response: " + message.trimmed() + "\n", userLogsFolder + client.toString()); } - else if(response) + else if(command) { - log("Response: " + message + "\n", userLogsFolder + client.toString()); + log("Command: " + message + "\n", userLogsFolder + client.toString()); } else { |
