* Notify the admin network of a client update (if they did opt in for the respective update). * @param ci the client info. */
| 894 | * @param ci the client info. |
| 895 | */ |
| 896 | void NetworkAdminClientUpdate(const NetworkClientInfo *ci) |
| 897 | { |
| 898 | for (ServerNetworkAdminSocketHandler *as : ServerNetworkAdminSocketHandler::IterateActive()) { |
| 899 | if (as->update_frequency[ADMIN_UPDATE_CLIENT_INFO].Test(AdminUpdateFrequency::Automatic)) { |
| 900 | as->SendClientUpdate(ci); |
| 901 | } |
| 902 | } |
| 903 | } |
| 904 | |
| 905 | /** |
| 906 | * Notify the admin network that a client quit (if they have opt in for the respective update). |
no test coverage detected