summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/network_server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp
index f9b71ca44..c9fe3c181 100644
--- a/src/network/network_server.cpp
+++ b/src/network/network_server.cpp
@@ -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));
}
/**