diff options
-rw-r--r-- | src/server.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp index 873198d1e..dcbc9fe76 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -4824,7 +4824,8 @@ void Server::handlePeerChange(PeerChange &c) //SendPlayerInfos(); // Send leave chat message to all remaining clients - BroadcastChatMessage(message); + if(message.length() != 0) + BroadcastChatMessage(message); } // PEER_REMOVED else |