sbpp / sourcebans-pp

Admin, ban, and comms management system for the Source engine
https://sbpp.github.io/
Creative Commons Attribution Share Alike 4.0 International
327 stars 175 forks source link

bug: Negative ban lenght #949

Closed Rushaway closed 3 months ago

Rushaway commented 4 months ago

What are the steps to reproduce this issue?

  1. sm_ban @me -1 test

What happens?

You get banned for the session. But it's useless the ban is automatically expire.

What were you expecting to happen?

Abort the ban, duration is incorrect.

Any logs, error output, etc.?

N/A

Any other comments?

N/A

What versions of software are you using?

Operating System: ubuntu 20.04 SourceBans++ Version: latest SourceMod Version: 1.12 MetaMod Version: 1.12

sunstep commented 4 months ago

This issue will be solved soon. Check out PR #953

Rushaway commented 3 months ago

Fixed in bf5303b