diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/network/network.cpp | 2 | ||||
-rw-r--r-- | src/network/network_client.cpp | 2 | ||||
-rw-r--r-- | src/network/network_client.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp index 78f065e20..80b285235 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -163,7 +163,7 @@ const char *NetworkChangeCompanyPassword(const char *password) if (strcmp(password, "*") == 0) password = ""; if (!_network_server) { - NetworkClientSetPassword(password); + NetworkClientSetCompanyPassword(password); } else { HashCurrentCompanyPassword(password); } diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp index 0a369dc93..4b14ac3af 100644 --- a/src/network/network_client.cpp +++ b/src/network/network_client.cpp @@ -1178,7 +1178,7 @@ void NetworkClientSendChat(NetworkAction action, DestType type, int dest, const MyClient::SendChat(action, type, dest, msg, data); } -void NetworkClientSetPassword(const char *password) +void NetworkClientSetCompanyPassword(const char *password) { MyClient::SendSetPassword(password); } diff --git a/src/network/network_client.h b/src/network/network_client.h index 235fb085e..096544156 100644 --- a/src/network/network_client.h +++ b/src/network/network_client.h @@ -108,7 +108,7 @@ public: typedef ClientNetworkGameSocketHandler MyClient; void NetworkClient_Connected(); -void NetworkClientSetPassword(const char *password); +void NetworkClientSetCompanyPassword(const char *password); extern CompanyID _network_join_as; |