summaryrefslogtreecommitdiff
path: root/src/chatlogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chatlogger.cpp')
-rw-r--r--src/chatlogger.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chatlogger.cpp b/src/chatlogger.cpp
index 23a0e4aef..61e44a5bb 100644
--- a/src/chatlogger.cpp
+++ b/src/chatlogger.cpp
@@ -216,7 +216,7 @@ void ChatLogger::loadLast(std::string name, std::list<std::string> &list,
void ChatLogger::clear()
{
- mLogDir = "";
- mServerName = "";
- mLogFileName = "";
+ mLogDir.clear();
+ mServerName.clear();
+ mLogFileName.clear();
}