diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-07-30 20:06:30 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-07-30 20:06:30 +0300 |
commit | f8fca8ca5e1e5cc72ea4a8c46cbf3d4f9a64ad0a (patch) | |
tree | 283fa8c3af61c45c093208671f9938c90aea074e /src | |
parent | 24a662705cb73f8a5630114654c38a0e1328b9ec (diff) | |
download | minetest-f8fca8ca5e1e5cc72ea4a8c46cbf3d4f9a64ad0a.tar.gz minetest-f8fca8ca5e1e5cc72ea4a8c46cbf3d4f9a64ad0a.tar.bz2 minetest-f8fca8ca5e1e5cc72ea4a8c46cbf3d4f9a64ad0a.zip |
easier notice on old version
Diffstat (limited to 'src')
-rw-r--r-- | src/server.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server.cpp b/src/server.cpp index ca166eaef..368f0acbf 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"); } /* |