improve wesnoth version warning.

This commit is contained in:
gfgtdf 2018-07-29 23:04:06 +02:00
parent 610e4f2969
commit ba18e17e43

View file

@ -989,7 +989,7 @@ void server::add_player(socket_ptr socket, const wesnothd::player& player)
send_server_message(socket, motd_);
}
if(version_info(player.version()) < secure_version ){
send_server_message(socket, "you are using version " + player.version() + " which has known security issues that can be used to invade your computer. We strongly reccomend to update to a newer wesnoth version");
send_server_message(socket, "You are using version " + player.version() + " which has known security issues that can be used to compromise your computer. We strongly reccomend to update to a newer wesnoth version!");
}
if(version_info(player.version()) < version_info(recommended_version_)) {
send_server_message(socket, "A new version wesnoth " + recommended_version_ + " is out!");