(svn r21727) -Fix [FS#4377]: admin bots weren't always notified of password changes (dihedral)

This commit is contained in:
rubidium 2011-01-04 22:28:02 +00:00
parent 2e92755d6c
commit c060890062

View File

@ -1812,6 +1812,8 @@ void NetworkServerUpdateCompanyPassworded(CompanyID company_id, bool passworded)
FOR_ALL_CLIENT_SOCKETS(cs) { FOR_ALL_CLIENT_SOCKETS(cs) {
if (cs->status >= NetworkClientSocket::STATUS_PRE_ACTIVE) cs->SendCompanyUpdate(); if (cs->status >= NetworkClientSocket::STATUS_PRE_ACTIVE) cs->SendCompanyUpdate();
} }
NetworkAdminCompanyUpdate(Company::GetIfValid(company_id));
} }
/** /**