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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/whispertab.cpp b/src/gui/widgets/whispertab.cpp
index 0c6503a6..5e005709 100644
--- a/src/gui/widgets/whispertab.cpp
+++ b/src/gui/widgets/whispertab.cpp
@@ -52,8 +52,7 @@ void WhisperTab::handleInput(const std::string &msg)
Net::getChatHandler()->privateMessage(mNick, msg);
- chatLog(strprintf(_("%s: %s"), player_node->getName().c_str(),
- msg.c_str()), BY_PLAYER, false);
+ chatLog(player_node->getName(), msg);
}
void WhisperTab::handleCommand(const std::string &msg)