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
333 stars 174 forks source link

Fix #850 #851

Closed Rushaway closed 1 year ago

Rushaway commented 1 year ago

Description

Fix #850 Comms : You can Insert invalid STEAMID format in DB

Motivation and Context

Check issue to understand. Also added the name of the target returning in error. Usefull to know who aren't a valid STEAM ID Format when using multi target filter.

How Has This Been Tested?

Joining on server with Steam ID pending. Perform mute with multi target Valid steamid get muted User without valid steamid format return this error :

sm_mute @ct 1 test
[SourceComms++] .Rushaway has not been verified. Please wait thirty seconds before retrying.
[SourceComms++] Ire has not been verified. Please wait thirty seconds before retrying.

Screenshots (if appropriate):

Types of changes

Checklist: