summaryrefslogtreecommitdiff
path: root/src/chatlogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chatlogger.cpp')
-rw-r--r--src/chatlogger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chatlogger.cpp b/src/chatlogger.cpp
index 904da133..1fef16bf 100644
--- a/src/chatlogger.cpp
+++ b/src/chatlogger.cpp
@@ -54,7 +54,7 @@ void ChatLogger::setLogFile(const std::string &logFilename)
if (mLogFile.is_open())
mLogFile.close();
- mLogFile.open(logFilename.c_str(), std::ios_base::app);
+ mLogFile.open(logFilename, std::ios_base::app);
if (!mLogFile.is_open())
{