summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-04 22:28:02 +0000
committerrubidium <rubidium@openttd.org>2011-01-04 22:28:02 +0000
commit7dafd04f4b867243e2b0a67f8e41d2c9c7047a5b (patch)
tree99092eb78ae96be5ba17ba1a275527d0fe3bc58d /src
parentace917f872230d8439817c07dba3bc65c955dcbf (diff)
downloadopenttd-7dafd04f4b867243e2b0a67f8e41d2c9c7047a5b.tar.xz
(svn r21727) -Fix [FS#4377]: admin bots weren't always notified of password changes (dihedral)
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));
}
/**