diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/chat.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index ba912276..b1d4b131 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -25,6 +25,7 @@ #include "configuration.h" #include "localplayer.h" #include "party.h" +#include "playerrelations.h" #include "gui/recorder.h" #include "gui/setup.h" @@ -439,7 +440,8 @@ void ChatWindow::event(const std::string &channel, const Mana::Event &event) } else if (event.getName() == "Being") { - localChatTab->chatLog(event.getString("message"), BY_OTHER); + if (event.getInt("permissions") & PlayerRelation::SPEECH_LOG) + localChatTab->chatLog(event.getString("message"), BY_OTHER); } } } |