Add more steam id checks
This commit is contained in:
parent
864fdf4305
commit
34dc9e9dbb
@ -27,6 +27,9 @@ export default class Utils {
|
||||
if (!steamId) {
|
||||
return false;
|
||||
}
|
||||
if (steamId.length !== 17) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (SteamIdCache.has(steamId)) {
|
||||
return SteamIdCache.get(steamId);
|
||||
|
Reference in New Issue
Block a user