mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-02 16:32:26 +00:00
Limit character length to 15 (the client doesn't let you enter more)
This commit is contained in:
parent
f82699c39b
commit
33b79a3588
@ -2,6 +2,7 @@ EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
|||||||
-------------------------------------------------------
|
-------------------------------------------------------
|
||||||
== 09/20/2014 ==
|
== 09/20/2014 ==
|
||||||
demonstar55: Fix crash in SendEnterWorld on illegally long names
|
demonstar55: Fix crash in SendEnterWorld on illegally long names
|
||||||
|
demonstar55: The client only lets you enter 15 characters for your name (UF at least)
|
||||||
|
|
||||||
== 09/19/2014 ==
|
== 09/19/2014 ==
|
||||||
demonstar55: Added Client::Tell_StringID (used in tell queue messages)
|
demonstar55: Added Client::Tell_StringID (used in tell queue messages)
|
||||||
|
|||||||
@ -1140,7 +1140,7 @@ bool Database::CheckNameFilter(const char* name, bool surname)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// the minimum 4 is enforced by the client too
|
// 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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user