| 511 | } |
| 512 | |
| 513 | NetworkRecvStatus ServerNetworkAdminSocketHandler::Receive_ADMIN_PING(Packet &p) |
| 514 | { |
| 515 | if (this->status <= ADMIN_STATUS_AUTHENTICATE) return this->SendError(NETWORK_ERROR_NOT_EXPECTED); |
| 516 | |
| 517 | uint32_t d1 = p.Recv_uint32(); |
| 518 | |
| 519 | Debug(net, 6, "[admin] Ping from '{}' ({}): {}", this->admin_name, this->admin_version, d1); |
| 520 | |
| 521 | return this->SendPong(d1); |
| 522 | } |
| 523 | |
| 524 | /** |
| 525 | * Send console output of other clients. |
nothing calls this directly
no test coverage detected