mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Fix to to too two times
This commit is contained in:
@@ -1459,7 +1459,7 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id)
|
||||
if (playername_length == PLAYERNAME_SIZE) {
|
||||
actionstream<<"Server: Player with name exceeding max length "
|
||||
<<"tried to connect from "<<addr_s<<std::endl;
|
||||
DenyAccess(peer_id, L"Name to long");
|
||||
DenyAccess(peer_id, L"Name too long");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user