summaryrefslogtreecommitdiffstats
path: root/src/CRSMLogging.cpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2015-11-15 02:12:09 +0100
committerMarkus Mittendrein <git@maxmitti.tk>2015-11-15 02:12:09 +0100
commit53d9912cb16c458a7cd7c7f09e40bee92bbf6481 (patch)
tree0b8bc8ccf9ab609fe2f2bc0dd62801c407a5496f /src/CRSMLogging.cpp
parentdb9734adda107e1b417a77311f2194471274a223 (diff)
downloadmanager-53d9912cb16c458a7cd7c7f09e40bee92bbf6481.tar.gz
manager-53d9912cb16c458a7cd7c7f09e40bee92bbf6481.zip
Fix double \n in mod-logs
Diffstat (limited to 'src/CRSMLogging.cpp')
-rw-r--r--src/CRSMLogging.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CRSMLogging.cpp b/src/CRSMLogging.cpp
index ca1badd..375010f 100644
--- a/src/CRSMLogging.cpp
+++ b/src/CRSMLogging.cpp
@@ -110,11 +110,11 @@ void CRSMLogging::modLog(const QString &message, const ClientInfo &client, const
{
if(response)
{
- log("Response: " + client.toString(true) + " " + message + "\n", modLogsFolder + modName);
+ log("Response: " + client.toString(true) + " " + message.trimmed() + "\n", modLogsFolder + modName);
}
else
{
- log("Command: " + client.toString(true) + " " + message + "\n", modLogsFolder + modName);
+ log("Command: " + client.toString(true) + " " + message.trimmed() + "\n", modLogsFolder + modName);
}
}