diff options
Diffstat (limited to 'src/session.cpp')
| -rw-r--r-- | src/session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.cpp b/src/session.cpp index 0eae525..2faab20 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -244,7 +244,7 @@ bool CSession::write(const std::string &msg) { } bool CSession::writeChat(const CChatManager::SMessage &msg) { - if (msg.sender ? (uintptr_t)this != *msg.sender : msg.msg != m_name) { + if (msg.sender ? (uintptr_t)this != *msg.sender : msg.username != m_name) { if (msg.admin && !m_isAdmin) return false; |
