diff options
-rw-r--r-- | src/console_cmds.cpp | 2 | ||||
-rw-r--r-- | src/network/network_client.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index 8f4cf50b9..375f98cc5 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -1507,8 +1507,6 @@ DEF_CONSOLE_CMD(ConSayClient) return true; } -extern void HashCurrentCompanyPassword(const char *password); - DEF_CONSOLE_CMD(ConCompanyPassword) { if (argc == 0) { diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp index 73877dda8..c4c46b208 100644 --- a/src/network/network_client.cpp +++ b/src/network/network_client.cpp @@ -333,7 +333,7 @@ static const char *GenerateCompanyPasswordHash(const char *password) /** * Hash the current company password; used when the server 'company' sets his/her password. */ -void HashCurrentCompanyPassword(const char *password) +static void HashCurrentCompanyPassword(const char *password) { _password_game_seed = _settings_game.game_creation.generation_seed; strecpy(_password_server_id, _settings_client.network.network_id, lastof(_password_server_id)); |