Skip to content

Commit

Permalink
improve wesnoth version warning.
Browse files Browse the repository at this point in the history
(cherry-picked from commit ba18e17)
  • Loading branch information
gfgtdf committed Oct 7, 2018
1 parent cb6b7b4 commit 4d73606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/server.cpp
Expand Up @@ -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!");
Expand Down

0 comments on commit 4d73606

Please sign in to comment.