Cleanup: remove client side password checks when moving to a different company

This commit is contained in:
Rubidium
2024-03-23 19:26:08 +01:00
committed by rubidium42
parent 16639939e9
commit 9dc1fdc385
5 changed files with 6 additions and 17 deletions

View File

@@ -1249,10 +1249,8 @@ void NetworkClientSendRcon(const std::string &password, const std::string &comma
/**
* Notify the server of this client wanting to be moved to another company.
* @param company_id id of the company the client wishes to be moved to.
* @param pass the password, is only checked on the server end if a password is needed.
* @return void
*/
void NetworkClientRequestMove(CompanyID company_id, [[maybe_unused]] const std::string &pass)
void NetworkClientRequestMove(CompanyID company_id)
{
MyClient::SendMove(company_id);
}