diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_func.h | 1 | ||||
-rw-r--r-- | src/network/network_server.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/network/network_func.h b/src/network/network_func.h index 3a0024f13..02ee1a327 100644 --- a/src/network/network_func.h +++ b/src/network/network_func.h @@ -72,7 +72,6 @@ const char *GetClientIP(NetworkClientInfo *ci); void NetworkServerDoMove(ClientID client_id, CompanyID company_id); void NetworkServerSendRcon(ClientID client_id, ConsoleColour colour_code, const char *string); -void NetworkServerSendError(ClientID client_id, NetworkErrorCode error); void NetworkServerSendChat(NetworkAction action, DestType type, int dest, const char *msg, ClientID from_id, int64 data = 0); void NetworkServerKickClient(ClientID client_id); diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp index b8ea9fa62..95b65b3f4 100644 --- a/src/network/network_server.cpp +++ b/src/network/network_server.cpp @@ -1776,7 +1776,7 @@ void NetworkServerSendRcon(ClientID client_id, ConsoleColour colour_code, const SEND_COMMAND(PACKET_SERVER_RCON)(NetworkFindClientStateFromClientID(client_id), colour_code, string); } -void NetworkServerSendError(ClientID client_id, NetworkErrorCode error) +static void NetworkServerSendError(ClientID client_id, NetworkErrorCode error) { SEND_COMMAND(PACKET_SERVER_ERROR)(NetworkFindClientStateFromClientID(client_id), error); } |