diff --git a/x64/auth.hpp b/x64/auth.hpp index 22d6734..2080a07 100644 --- a/x64/auth.hpp +++ b/x64/auth.hpp @@ -17,8 +17,8 @@ namespace KeyAuth { std::string name, ownerid, version, url, path; static bool debug; - api(std::string name, std::string ownerid, std::string version, std::string url, std::string path, bool debug = false) { - debug = debug; + api(std::string name, std::string ownerid, std::string version, std::string url, std::string path, bool debugParameter = false) { + setDebug(debugParameter); } void ban(std::string reason = ""); @@ -102,5 +102,6 @@ namespace KeyAuth { private: std::string sessionid, enckey; + static void setDebug(bool value); }; } diff --git a/x64/library_x64.lib b/x64/library_x64.lib index e95b4b7..ebc59c8 100644 Binary files a/x64/library_x64.lib and b/x64/library_x64.lib differ