Fixed NameChangeDeed so it doesn't allow invalid names.
This commit is contained in:
parent
700411e2df
commit
cf3f6e8276
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ namespace Server.Items
|
|||
string newName = ( nameEntry == null ? null : nameEntry.Text.Trim() );
|
||||
|
||||
|
||||
if ( !NameVerification.Validate( newName, 2, 16, true, true, true, 1, NameVerification.SpaceDashPeriodQuote ) )
|
||||
if ( !NameVerification.Validate( newName, 2, 16, true, false, true, 1, NameVerification.SpaceDashPeriodQuote ) )
|
||||
{
|
||||
m.SendMessage( "That name is unacceptable." );
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue