mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 11:28:16 +00:00
Reactivate kick functionality
This commit is contained in:
parent
de8f839da2
commit
5f34b95b33
@ -2754,8 +2754,8 @@ void server::kick_handler(const std::string& /*issuer_name*/, const std::string&
|
||||
*out << "Kicked " << it->info.name() << " ("
|
||||
<< client_address(it->left) << "). '"
|
||||
<< kick_message << "'";
|
||||
//send_error(pl->first, kick_message);
|
||||
//network::queue_disconnect(pl->first);
|
||||
async_send_error(it->left, kick_message);
|
||||
remove_player(it->left);
|
||||
}
|
||||
}
|
||||
if (!kicked) *out << "No user matched '" << kick_mask << "'.";
|
||||
|
Loading…
x
Reference in New Issue
Block a user