From 98283116fac58053ebd282772b0311a0b417cef7 Mon Sep 17 00:00:00 2001 From: rubidium42 Date: Sun, 2 May 2021 08:27:06 +0200 Subject: Codechange: [Network] Make company state password std::string --- src/network/network_type.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network/network_type.h') diff --git a/src/network/network_type.h b/src/network/network_type.h index 4dcdd8c03..fb9953695 100644 --- a/src/network/network_type.h +++ b/src/network/network_type.h @@ -62,8 +62,8 @@ struct NetworkCompanyStats { /** Some state information of a company, especially for servers */ struct NetworkCompanyState { - char password[NETWORK_PASSWORD_LENGTH]; ///< The password for the company - uint16 months_empty; ///< How many months the company is empty + std::string password; ///< The password for the company + uint16 months_empty; ///< How many months the company is empty }; struct NetworkClientInfo; -- cgit v1.2.3-54-g00ecf