From e4c5b34ac76dfc34b9ee69ee1bcb429a6841c900 Mon Sep 17 00:00:00 2001 From: autumn <102363146+autumnlikescode@users.noreply.github.com> Date: Thu, 16 May 2024 22:26:44 +1000 Subject: [PATCH] Update auth.cpp --- x86/lib/auth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x86/lib/auth.cpp b/x86/lib/auth.cpp index e44e57e..95aa775 100644 --- a/x86/lib/auth.cpp +++ b/x86/lib/auth.cpp @@ -103,7 +103,7 @@ void KeyAuth::api::init() XorStr("&name=") + curl_easy_escape(curl, name.c_str(), 0) + XorStr("&ownerid=") + ownerid; - if (path != "" || path.empty()) { + if (path != "" || !path.empty()) { if (!std::filesystem::exists(path)) { MessageBoxA(0, XorStr("File not found. Please make sure the file exists.").c_str(), NULL, MB_ICONERROR);