summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat/whispertab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/chat/whispertab.cpp')
-rw-r--r--src/gui/widgets/tabs/chat/whispertab.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/widgets/tabs/chat/whispertab.cpp b/src/gui/widgets/tabs/chat/whispertab.cpp
index 16b62a66c..fc68cb222 100644
--- a/src/gui/widgets/tabs/chat/whispertab.cpp
+++ b/src/gui/widgets/tabs/chat/whispertab.cpp
@@ -38,7 +38,7 @@
WhisperTab::WhisperTab(const Widget2 *const widget,
const std::string &nick) :
- ChatTab(widget, nick, "", ChatTabType::WHISPER),
+ ChatTab(widget, nick, "", nick, ChatTabType::WHISPER),
mNick(nick)
{
setWhisperTabColors();
@@ -110,12 +110,6 @@ bool WhisperTab::handleCommand(const std::string &restrict type,
return true;
}
-void WhisperTab::saveToLogFile(const std::string &msg) const
-{
- if (chatLogger)
- chatLogger->log(getNick(), msg);
-}
-
void WhisperTab::getAutoCompleteList(StringVect &names) const
{
names.push_back(mNick);