diff options
author | rubidium42 <rubidium@openttd.org> | 2021-05-02 09:15:12 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-14 23:22:04 +0200 |
commit | ebe32ad9129bb5846433366509728fb594f3be62 (patch) | |
tree | 3cd9b58a5da8531796762f33ca53fc6d79de9926 /src/network/network_client.h | |
parent | 6db52d52d00516b71a982e61b3b9592a887091aa (diff) | |
download | openttd-ebe32ad9129bb5846433366509728fb594f3be62.tar.xz |
Codechange: [Network] Use std::string for the internal handling of admin/rcon passwords
Diffstat (limited to 'src/network/network_client.h')
-rw-r--r-- | src/network/network_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_client.h b/src/network/network_client.h index baf4f5996..7d0d22810 100644 --- a/src/network/network_client.h +++ b/src/network/network_client.h @@ -96,7 +96,7 @@ public: static NetworkRecvStatus SendChat(NetworkAction action, DestType type, int dest, const char *msg, int64 data); static NetworkRecvStatus SendSetPassword(const std::string &password); static NetworkRecvStatus SendSetName(const char *name); - static NetworkRecvStatus SendRCon(const char *password, const char *command); + static NetworkRecvStatus SendRCon(const std::string &password, const char *command); static NetworkRecvStatus SendMove(CompanyID company, const std::string &password); static bool IsConnected(); |