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(server/functions): exploitban yield until ids inserted #520

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

solareon
Copy link
Contributor

Description

Spawning off a thread for the ban insert while functionally correct the natives could fail to return the identifiers preventing the ban from being inserted. This moves the insert into a pcall which will yield until the ban is inserted.

Checklist

  • I have personally loaded this code into an updated Qbox project and checked all of its functionality.
  • My pull request fits the contribution guidelines & code conventions.

server/functions.lua Show resolved Hide resolved
@solareon solareon force-pushed the fix-exploitban-assert branch from 000ac4b to 48ba9c2 Compare August 5, 2024 06:57
@FjamZoo FjamZoo merged commit ab5dd32 into main Aug 5, 2024
4 checks passed
@solareon solareon deleted the fix-exploitban-assert branch August 14, 2024 21:26
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.

3 participants