ottworks / maestro

a competent admin mod for garry's mod
http://ottworks.github.io/maestro
24 stars 7 forks source link

Fix !banid #84

Closed Glitchvid closed 1 year ago

Glitchvid commented 1 year ago

Current Behavior:

The banid command doesn't work according to documentation, or the other ban functions that accept a SteamID (unban, banlogid). It should be accepting a SteamID (SteamId2), but (seemingly accidentally) only supports a SteamID64. It also fails silently when providing an invalid SteamId format, which is why it took me this long to notice.

Changed Behavior:

The banid command now accepts a normal SteamID string like all similar commands.