upd proAdhoc

This commit is contained in:
MMaZaHaKa committed 2026-01-16 06:17:03 +02:00
1 parent 21611bfb52
commit aa350b3082
8 files changed
+156 -15

No files matched your search

+1 -1
View File
@@ -521,7 +521,7 @@ void InitLocalhostIP() {
g_localhostIP.in.sin_addr.s_addr = htonl(localIP);
g_localhostIP.in.sin_port = 0;
std::string serverStr(StripSpaces(g_Config.proAdhocServer));
std::string serverStr(StripSpaces(g_Config.sProAdhocServer));
isLocalServer = (!strcasecmp(serverStr.c_str(), "localhost") || serverStr.find("127.") == 0);
}