diff options
author | rubidium42 <rubidium@openttd.org> | 2021-05-02 09:07:09 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-14 23:22:04 +0200 |
commit | 1de5cdeab8387b23b566142f205ac9232a6f61a3 (patch) | |
tree | bb234a1704f3ec3449e0f0b7daf4a50929b09a42 /src/network/network_server.h | |
parent | 98283116fac58053ebd282772b0311a0b417cef7 (diff) | |
download | openttd-1de5cdeab8387b23b566142f205ac9232a6f61a3.tar.xz |
Codechange: [Network] Use std::string for the internal handling of company passwords
Diffstat (limited to 'src/network/network_server.h')
-rw-r--r-- | src/network/network_server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_server.h b/src/network/network_server.h index fb4c4f63e..f8f58d1e3 100644 --- a/src/network/network_server.h +++ b/src/network/network_server.h @@ -121,7 +121,7 @@ public: }; void NetworkServer_Tick(bool send_frame); -void NetworkServerSetCompanyPassword(CompanyID company_id, const char *password, bool already_hashed = true); +void NetworkServerSetCompanyPassword(CompanyID company_id, const std::string &password, bool already_hashed = true); void NetworkServerUpdateCompanyPassworded(CompanyID company_id, bool passworded); #endif /* NETWORK_SERVER_H */ |