give an error message also on kick

This commit is contained in:
Gunter Labes 2007-01-31 12:48:03 +00:00
parent 680b4903e6
commit 142abd3a47

View File

@ -1038,6 +1038,10 @@ void server::process_data_from_player_in_game(const network::connection sock, co
const config& response = construct_server_message(
"You cannot ban: not the game creator",*g);
network::send_data(response,sock);
} else if(data.child("kick")) {
const config& response = construct_server_message(
"You cannot kick: not the game creator",*g);
network::send_data(response,sock);
}
//if this is data describing changes to a game.