From f0e1cd01298237dc32413fb0c19e145c45baa2e8 Mon Sep 17 00:00:00 2001 From: rubidium42 Date: Sat, 29 May 2021 19:33:42 +0200 Subject: Codechange: [Network] Let server rcon result use std::string --- src/network/network_func.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network/network_func.h') diff --git a/src/network/network_func.h b/src/network/network_func.h index a50166e2a..6a21eb80a 100644 --- a/src/network/network_func.h +++ b/src/network/network_func.h @@ -77,7 +77,7 @@ bool NetworkServerChangeClientName(ClientID client_id, const std::string &new_na void NetworkServerDoMove(ClientID client_id, CompanyID company_id); -void NetworkServerSendRcon(ClientID client_id, TextColour colour_code, const char *string); +void NetworkServerSendRcon(ClientID client_id, TextColour colour_code, const std::string &string); void NetworkServerSendChat(NetworkAction action, DestType type, int dest, const std::string &msg, ClientID from_id, int64 data = 0, bool from_admin = false); void NetworkServerKickClient(ClientID client_id, const char *reason); -- cgit v1.2.3-54-g00ecf