Skip to content

Conversation

@Rushaway
Copy link
Contributor

Description

Before you can use sm_ban
If you put text and not int as time the plugin take it as permant length

Motivation and Context

Few bans was made due to admins doesn't know how to use the command line correctly.

How Has This Been Tested?

sm_ban <text_instead_of_int>
return [Sourcebans++] Usage: sm_ban <#userid|name> <time|0> [reason]

Screenshots (if appropriate):

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.

Before the time args just perma ban if doesnt return as int
@Hackmastr Hackmastr merged commit e87df3c into sbpp:php81 Sep 23, 2022
@Rushaway Rushaway deleted the patch-5 branch September 23, 2022 15:11
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