Skip to content

Commit b8da7cf

Browse files
Merge pull request #45 from Shxde1/main
2 parents 8799bb0 + 941ebf4 commit b8da7cf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

auth.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ namespace KeyAuth {
1818
std::string name, ownerid, version, url, path;
1919
static bool debug;
2020

21-
api(std::string name, std::string ownerid, std::string version, std::string url, std::string path, bool debugParameter = true) {
22-
setDebug(debugParameter);
21+
api(std::string name, std::string ownerid, std::string version, std::string url, std::string path, bool debugParameter = false)
22+
: name(name), ownerid(ownerid), version(version), url(url), path(path)
23+
{
24+
setDebug(debugParameter);
2325
}
2426

2527
void ban(std::string reason = "");

0 commit comments

Comments
 (0)