mirror of
https://github.com/minetest/minetest.git
synced 2024-11-10 01:33:46 +01:00
Do not broadcast an empty chat message when someone tries to log in with the wrong password
This commit is contained in:
parent
189689716c
commit
275a348b75
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user