Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Sync Fork #644

Closed
wants to merge 17 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: identifier check.
bruinp8n committed Oct 31, 2024
commit 4da2431e93f18b6b24b2633f0806467a593b3702
4 changes: 2 additions & 2 deletions server/functions.lua
Original file line number Diff line number Diff line change
@@ -342,8 +342,8 @@ exports('ToggleOptin', ToggleOptin)
function IsPlayerBanned(source)
local license = GetPlayerIdentifierByType(source --[[@as string]], 'license')
local license2 = GetPlayerIdentifierByType(source --[[@as string]], 'license2')
local discord = GetPlayerIdentifier(source, 'discord')
local ip = GetPlayerIdentifier(source, 'ip')
local discord = GetPlayerIdentifierByType(source --[[@as string]], 'discord')
local ip = GetPlayerIdentifierByType(source --[[@as string]], 'ip')
local identifiers = GetPlayerIdentifiers(source)
print(json.encode(identifiers))