diff options
author | rubidium42 <rubidium@openttd.org> | 2021-05-29 19:33:42 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-30 00:01:49 +0200 |
commit | f0e1cd01298237dc32413fb0c19e145c45baa2e8 (patch) | |
tree | 6255cdf54522073b108516559a0f6f3b005085e6 /src/network/network_func.h | |
parent | 8b9f1147dfec4efe3451dd3e111276a1dab3bb99 (diff) | |
download | openttd-f0e1cd01298237dc32413fb0c19e145c45baa2e8.tar.xz |
Codechange: [Network] Let server rcon result use std::string
Diffstat (limited to 'src/network/network_func.h')
-rw-r--r-- | src/network/network_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |