easier notice on old version
authorPerttu Ahola <celeron55@gmail.com>
Sat, 30 Jul 2011 17:06:30 +0000 (20:06 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 30 Jul 2011 17:06:30 +0000 (20:06 +0300)
src/server.cpp

index ca166eaef677ca62b2cf54729c3186533b82804c..368f0acbfb6cb5cdec7b3601224eede6b9d963bb 100644 (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");
                }
 
                /*