projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24a6627
)
easier notice on old version
author
Perttu Ahola
<celeron55@gmail.com>
Sat, 30 Jul 2011 17:06:30 +0000
(20:06 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sat, 30 Jul 2011 17:06:30 +0000
(20:06 +0300)
src/server.cpp
patch
|
blob
|
history
diff --git
a/src/server.cpp
b/src/server.cpp
index ca166eaef677ca62b2cf54729c3186533b82804c..368f0acbfb6cb5cdec7b3601224eede6b9d963bb 100644
(file)
--- 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");
}
/*