1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-22 14:09:10 +00:00

(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 ace917f872
commit 7dafd04f4b

View File

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