Skip to content

Commit 4169304

Browse files
Merge pull request #73 from Shxde1/main2
Fixed issues
2 parents 514602f + f427d3c commit 4169304

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

x64/auth.hpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ namespace KeyAuth {
1717
std::string name, ownerid, version, url, path;
1818
static bool debug;
1919

20-
api(std::string name, std::string ownerid, std::string version, std::string url, std::string path, bool debug = false) {
21-
debug = debug;
20+
api(std::string name, std::string ownerid, std::string version, std::string url, std::string path, bool debugParameter = false) {
21+
setDebug(debugParameter);
2222
}
2323

2424
void ban(std::string reason = "");
@@ -102,5 +102,6 @@ namespace KeyAuth {
102102

103103
private:
104104
std::string sessionid, enckey;
105+
static void setDebug(bool value);
105106
};
106107
}

x64/library_x64.lib

290 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)