Skip to content

Commit

Permalink
Reactivate kick functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
loonycyborg committed Dec 25, 2015
1 parent de8f839 commit 5f34b95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/server.cpp
Expand Up @@ -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 << "'.";
Expand Down

0 comments on commit 5f34b95

Please sign in to comment.