String patch, thanks Carmina

This commit is contained in:
mark 2006-12-12 19:22:43 +00:00
parent 332effd18f
commit 88658b58e2
15 changed files with 33 additions and 33 deletions

View file

@ -56,7 +56,7 @@ namespace Server.Engines.Chat
{
newValue = value.Trim();
if ( newValue == null || newValue == String.Empty )
if ( String.IsNullOrEmpty( newValue ) )
newValue = null;
}
@ -545,4 +545,4 @@ namespace Server.Engines.Chat
AddChannel( name ).AlwaysAvailable = true;
}
}
}
}