From 0cf43146d7a39e391bf791537f9d4553969d9e07 Mon Sep 17 00:00:00 2001 From: atom0s Date: Mon, 10 Feb 2014 15:43:54 -0800 Subject: [PATCH] Fixed hairpin option not working properly. --- xiloader/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xiloader/main.cpp b/xiloader/main.cpp index 5e8fad0..137d296 100644 --- a/xiloader/main.cpp +++ b/xiloader/main.cpp @@ -78,7 +78,7 @@ DWORD ApplyHairpinFixThread(LPVOID lpParam) } while (GetModuleHandleA("FFXiMain.dll") == NULL); /* Convert server address.. */ - g_NewServerAddress = atoi(g_ServerAddress.c_str()); + xiloader::network::ResolveHostname(g_ServerAddress.c_str(), &g_NewServerAddress); // Locate the main hairpin location.. //