Limit character length to 15 (the client doesn't let you enter more)

This commit is contained in:
Michael Cook (mackal) committed 2014-09-20 15:59:34 -04:00
1 parent f82699c39b
commit 33b79a3588
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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;
}