Buffer allocation optimizations in PacketWriter

Misc string cleanup
This commit is contained in:
mark 2006-12-13 18:28:37 +00:00
parent b7ea90d3af
commit 3da4aa9efa
5 changed files with 116 additions and 44 deletions

View file

@ -4666,7 +4666,7 @@ namespace Server
text = regArgs.Speech;
if( text == null || text.Length == 0 )
if( string.IsNullOrEmpty( text ) )
return;
if( m_Hears == null )