summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r--src/gui/windows/chatwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index 776ad9501..d4ae8ed14 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -1711,7 +1711,7 @@ void ChatWindow::loadCustomList()
void ChatWindow::addToAwayLog(const std::string &line)
{
- if (!player_node || !player_node->getAway())
+ if (!settings.awayMode)
return;
if (mAwayLog.size() > 20)