Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
emcifuntik committed Sep 16, 2023
1 parent 06011d9 commit 0894370
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions server/src/bindings/ConnectionInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,6 @@ static void ConnectionIDGetter(v8::Local<v8::String>, const v8::PropertyCallback
V8_RETURN_INT(con->GetID());
}

static void CloudAuthHashGetter(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
{
V8_GET_ISOLATE_CONTEXT_RESOURCE();
V8_GET_THIS_BASE_OBJECT(con, alt::IConnectionInfo);
V8_RETURN_STRING(con->GetCloudAuthHash());
}

static void Accept(const v8::FunctionCallbackInfo<v8::Value>& info)
{
V8_GET_ISOLATE_CONTEXT();
Expand Down Expand Up @@ -213,6 +206,5 @@ extern V8Class v8ConnectionInfo("ConnectionInfo",
V8Helpers::SetAccessor(isolate, tpl, "discordUserID", &DiscordUserIDGetter);
V8Helpers::SetAccessor(isolate, tpl, "socialClubName", &SocialClubNameGetter);
V8Helpers::SetAccessor(isolate, tpl, "id", &ConnectionIDGetter);
V8Helpers::SetAccessor(isolate, tpl, "cloudAuthHash", &CloudAuthHashGetter);
V8Helpers::SetAccessor(isolate, tpl, "text", &GetText, &SetText);
});

0 comments on commit 0894370

Please sign in to comment.