summaryrefslogtreecommitdiff
path: root/src/chatlogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chatlogger.cpp')
-rw-r--r--src/chatlogger.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/chatlogger.cpp b/src/chatlogger.cpp
index ad86de8e9..33763e561 100644
--- a/src/chatlogger.cpp
+++ b/src/chatlogger.cpp
@@ -39,7 +39,6 @@
#include "logger.h"
#include "configuration.h"
-
#include "utils/mkdir.h"
#include "utils/stringutils.h"
@@ -204,3 +203,10 @@ void ChatLogger::loadLast(std::string name, std::list<std::string> &list,
if (logFile.is_open())
logFile.close();
}
+
+void ChatLogger::clear()
+{
+ mLogDir = "";
+ mServerName = "";
+ mLogFileName = "";
+}