mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
⚡ updated name requirements to conform with minecraft names
This commit is contained in:
parent
23b6362d91
commit
6af072cf66
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ __attribute__((always_inline)) inline bool ValidUsrname(const std::string &name)
|
|||
}
|
||||
for (const char &c : name)
|
||||
{
|
||||
if (!(std::isalpha(c) || std::isdigit(c) || c == '_'))
|
||||
if (!(std::isalpha(c) || std::islower(c) || std::isdigit(c) || c == '_'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue