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