summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r--src/gui/chatwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index 29bf9c1b..b4b03450 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -406,7 +406,7 @@ void ChatWindow::event(Event::Channel channel, const Event &event)
}
else if (event.getType() == Event::Being)
{
- if (event.getInt("permissions") & PlayerRelation::SPEECH_LOG)
+ if (event.getInt("permissions") & PlayerPermissions::SPEECH_LOG)
localChatTab->chatLog(event.getString("message"), BY_OTHER);
}
}