summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/chattab.cpp')
-rw-r--r--src/gui/widgets/chattab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index bd4c5910..20aadfb7 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -246,7 +246,7 @@ void ChatTab::chatLog(std::string line, Own own, bool ignoreRecord)
void ChatTab::chatLog(const std::string &nick, const std::string &msg)
{
chatLog(nick + " : " + msg,
- nick == player_node->getName() ? BY_PLAYER : BY_OTHER,
+ nick == local_player->getName() ? BY_PLAYER : BY_OTHER,
false);
}