Skip to content

Fix postPlayerAuth and add reason value#395

Merged
lionkor merged 2 commits intominorfrom
fix-postplayerauth
Nov 25, 2024
Merged

Fix postPlayerAuth and add reason value#395
lionkor merged 2 commits intominorfrom
fix-postplayerauth

Conversation

@WiserTixx
Copy link
Copy Markdown
Collaborator

Closes #393 and #394
This PR cleans up and fixes the code in TNetwork::Authentication and sends the kick reason to lua.
The event is now function postPlayerAuth(Kicked: bool, Reason: string, Name: string, Role: string, Guest: bool, Identifiers: table)


By creating this pull request, I understand that code that is AI generated or otherwise automatically generated may be rejected without further discussion.
I declare that I fully understand all code I pushed into this PR, and wrote all this code myself and own the rights to this code.

@WiserTixx
Copy link
Copy Markdown
Collaborator Author

A fix for #396 has been added to this PR.

@WiserTixx WiserTixx linked an issue Nov 24, 2024 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

@0R3Z 0R3Z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All working fine! Thank you @WiserTixx!

@lionkor lionkor merged commit fc20877 into minor Nov 25, 2024
@lionkor lionkor deleted the fix-postplayerauth branch November 25, 2024 09:15
@lionkor
Copy link
Copy Markdown
Contributor

lionkor commented Nov 25, 2024

Thanks @0R3Z for reviewing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants