mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 22:03:24 +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() << " ("
|
*out << "Kicked " << it->info.name() << " ("
|
||||||
<< client_address(it->left) << "). '"
|
<< client_address(it->left) << "). '"
|
||||||
<< kick_message << "'";
|
<< kick_message << "'";
|
||||||
//send_error(pl->first, kick_message);
|
async_send_error(it->left, kick_message);
|
||||||
//network::queue_disconnect(pl->first);
|
remove_player(it->left);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!kicked) *out << "No user matched '" << kick_mask << "'.";
|
if (!kicked) *out << "No user matched '" << kick_mask << "'.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user