From: Perttu Ahola Date: Sat, 30 Jul 2011 17:06:30 +0000 (+0300) Subject: easier notice on old version X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=f8fca8ca5e1e5cc72ea4a8c46cbf3d4f9a64ad0a;p=zefram%2Fminetest%2Fminetest_engine.git easier notice on old version --- diff --git a/src/server.cpp b/src/server.cpp index ca166eae..368f0acb 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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"); } /*