From 398426545c56ebb0defb7a824c1b26d8d008c8e3 Mon Sep 17 00:00:00 2001 From: Aaron Kimbrell Date: Tue, 27 Feb 2024 15:56:58 -0600 Subject: [PATCH] fix: default chat to the correct port when no option is given (#1484) --- dChatServer/ChatServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dChatServer/ChatServer.cpp b/dChatServer/ChatServer.cpp index 9ba70026..84104726 100644 --- a/dChatServer/ChatServer.cpp +++ b/dChatServer/ChatServer.cpp @@ -101,7 +101,7 @@ int main(int argc, char** argv) { //It's safe to pass 'localhost' here, as the IP is only used as the external IP. std::string ourIP = "localhost"; const uint32_t maxClients = GeneralUtils::TryParse(Game::config->GetValue("max_clients")).value_or(999); - const uint32_t ourPort = GeneralUtils::TryParse(Game::config->GetValue("chat_server_port")).value_or(1501); + const uint32_t ourPort = GeneralUtils::TryParse(Game::config->GetValue("chat_server_port")).value_or(2005); const auto externalIPString = Game::config->GetValue("external_ip"); if (!externalIPString.empty()) ourIP = externalIPString;