mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Limit character length to 15 (the client doesn't let you enter more)
This commit is contained in:
+1
-1
@@ -1140,7 +1140,7 @@ bool Database::CheckNameFilter(const char* name, bool surname)
|
||||
else
|
||||
{
|
||||
// the minimum 4 is enforced by the client too
|
||||
if(!name || strlen(name) < 4 || strlen(name) > 64)
|
||||
if(!name || strlen(name) < 4 || strlen(name) > 15)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user