summaryrefslogtreecommitdiff
path: root/src/gui/widgets/whispertab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/whispertab.cpp')
-rw-r--r--src/gui/widgets/whispertab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/whispertab.cpp b/src/gui/widgets/whispertab.cpp
index 6f3ddbcdb..45e1b12c4 100644
--- a/src/gui/widgets/whispertab.cpp
+++ b/src/gui/widgets/whispertab.cpp
@@ -157,7 +157,7 @@ bool WhisperTab::handleCommand(const std::string &type,
return true;
}
-void WhisperTab::saveToLogFile(std::string &msg)
+void WhisperTab::saveToLogFile(const std::string &msg)
{
if (chatLogger)
chatLogger->log(getNick(), msg);