1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-24 08:28:49 -05:00

easier notice on old version

This commit is contained in:
Perttu Ahola 2011-07-30 20:06:30 +03:00
parent 24a662705c
commit f8fca8ca5e

View File

@ -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");
}
/*