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

Fix postPlayerAuth and add reason value #395

Merged
merged 2 commits into from
Nov 25, 2024
Merged

Fix postPlayerAuth and add reason value #395

merged 2 commits into from
Nov 25, 2024

Conversation

WiserTixx
Copy link
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
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
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
9 checks passed
@lionkor lionkor deleted the fix-postplayerauth branch November 25, 2024 09:15
@lionkor
Copy link
Member

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