Skip to content

Commit a1e3af9

Browse files
authored
Update auth.hpp
1 parent da2ccb9 commit a1e3af9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

x64/auth.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ 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 debugParameter = false) {
21-
setDebug(debugParameter);
20+
api(std::string name, std::string ownerid, std::string version, std::string url, std::string path, bool debugParameter)
21+
: name(name), ownerid(ownerid), version(version), url(url), path(path)
22+
{
23+
setDebug(debugParameter)
2224
}
2325

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

0 commit comments

Comments
 (0)