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 864f1f51..c3674c54 100644
--- a/src/gui/widgets/whispertab.cpp
+++ b/src/gui/widgets/whispertab.cpp
@@ -56,7 +56,7 @@ void WhisperTab::handleInput(const std::string &msg)
Net::getChatHandler()->privateMessage(mNick, msg);
- chatLog(player_node->getName(), msg);
+ chatLog(local_player->getName(), msg);
}
void WhisperTab::handleCommand(const std::string &msg)