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

Attempt to fix unbanning on changed player names #1819

Merged
merged 3 commits into from
Jan 9, 2025

Conversation

fxeP1
Copy link
Contributor

@fxeP1 fxeP1 commented Jan 8, 2025

Resolves an issue where players who have been banned previously are unable to be unbanned due to their username changing and the Admin.RemoveBan function being unable to find the ban record of the older username.

Also includes a fix that should prevent people using the Server-Banning API from having the plugin entirely break with a slight change to Functions.GetUserIdFromNameAsync and Functions.GetNameFromUserIdAsync

@Dimenpsyonal
Copy link
Member

❤️

@Dimenpsyonal Dimenpsyonal merged commit 3f21e39 into Epix-Incorporated:master Jan 9, 2025
2 checks passed
@fxeP1 fxeP1 deleted the banning-patch branch January 10, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants