Skip to content

Commit ded0a43

Browse files
authored
Update auth.hpp
1 parent 1090785 commit ded0a43

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)
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)