Skip to content

Commit

Permalink
Update auth.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
autumnlikescode authored May 16, 2024
1 parent 5a6858a commit e4c5b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x86/lib/auth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e4c5b34

Please sign in to comment.