Skip to content

Commit e38d3a0

Browse files
authored
Update auth.hpp
1 parent 460c63d commit e38d3a0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

x64/auth.hpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ namespace KeyAuth {
1515
public:
1616

1717
std::string name, ownerid, version, url, path;
18-
19-
api(std::string name, std::string ownerid, std::string version, std::string url, std::string path) : name(name), ownerid(ownerid), version(version), url(url), path(path) {}
18+
static bool debug;
19+
20+
api(std::string name, std::string ownerid, std::string version, std::string url, std::string path, bool debug = true) {
21+
debug = debug;
22+
}
2023

2124
void ban(std::string reason = "");
2225
void init();

0 commit comments

Comments
 (0)