Skip to content

Commit

Permalink
improve wesnoth version warning 3
Browse files Browse the repository at this point in the history
suggested by soliton

(cherry-picked from commit bd16aee)
  • Loading branch information
gfgtdf committed Oct 7, 2018
1 parent f517f3a commit 8f4c854
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 compromise your computer. We strongly recommend updating 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 recommend updating to a Wesnoth version " + secure_version.str() + " or newer!");
}
if(version_info(player.version()) < version_info(recommended_version_)) {
send_server_message(socket, "A newer Wesnoth version, " + recommended_version_ + ", is out!");
Expand Down

0 comments on commit 8f4c854

Please sign in to comment.