Skip to content

Commit f84357d

Browse files
authored
Update auth.hpp
1 parent 908528a commit f84357d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x64/auth.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace KeyAuth {
1818
static bool debug;
1919

2020
api(std::string name, std::string ownerid, std::string version, std::string url, std::string path, bool debug = true) {
21-
debug = debug;
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
}

0 commit comments

Comments
 (0)