diff options
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r-- | src/gui/chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 9580ffe1..7faf9bda 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -414,7 +414,7 @@ void ChatWindow::setRecordingFile(const std::string &msg) void ChatWindow::whisper(const std::string &nick, std::string mes, bool own) { - if (mes.length() == 0) + if (mes.empty()) return; std::string playerName = player_node->getName(); |