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

Small changes in SourceSleuth #392

Merged
merged 1 commit into from Feb 1, 2018

Conversation

Projects
None yet
2 participants
@CrazyHackGUT
Copy link
Contributor

CrazyHackGUT commented Jan 30, 2018

Description

  • Clients whitelist has been moved to subdir "sourcebans".
  • Fixed error "Client X is not in game".
  • Admins receive notifications on his native language.
  • Now player receives ban with reason text on his native language.
  • Deleted INVALID_HANDLE validating in SQL_CheckHim.

Motivation and Context

  • All SB configs placed in /addons/sourcemod/configs/sourcebans/, but SourceSleuth config - in parent dir (/addons/sourcemod/configs/).
  • Sometimes console spams error "Client X is not in game", because CheckCommandAccess() executes before IsClientInGame().
  • The message about the presence of a ban to administrators was always displayed in different languages. This "behavior" related with using "%t" format token without SetGlobalTransTarget().
  • The message about ban provided always on different languages. I fixed with using "%T" format token.
  • In SQL_CheckHim deleted INVALID_HANDLE check on DataPack. It can not turn into it if it were created and passed on as additional data.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
Small changes in SourceSleuth
- Clients whitelist has been moved to subdir "sourcebans".
- Fixed error "Client X is not in game".
- Admins receives notifications on his native language.
- Now player receives ban with reason text on his native language.

@Groruk Groruk merged commit 82aea5b into sbpp:v1.x Feb 1, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment