mirror of
https://github.com/minetest/minetest.git
synced 2025-02-20 03:43:47 +01:00
Do not broadcast an empty chat message when someone tries to log in with the wrong password
This commit is contained in:
@ -4824,6 +4824,7 @@ void Server::handlePeerChange(PeerChange &c)
|
||||
//SendPlayerInfos();
|
||||
|
||||
// Send leave chat message to all remaining clients
|
||||
if(message.length() != 0)
|
||||
BroadcastChatMessage(message);
|
||||
|
||||
} // PEER_REMOVED
|
||||
|
Reference in New Issue
Block a user