mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 14:42:24 +01:00
easier notice on old version
This commit is contained in:
parent
24a662705c
commit
f8fca8ca5e
@ -1981,9 +1981,10 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id)
|
||||
}
|
||||
if(net_proto_version == 0)
|
||||
{
|
||||
SendAccessDenied(m_con, peer_id,
|
||||
/*SendAccessDenied(m_con, peer_id,
|
||||
L"Your client is too old (network protocol)");
|
||||
return;
|
||||
return;*/
|
||||
SendChatMessage(peer_id, L"# Server: NOTE: YOUR CLIENT IS OLD AND DOES NOT WORK PROPERLY WITH THIS SERVER");
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user