Buffer allocation optimizations in PacketWriter
Misc string cleanup
This commit is contained in:
parent
b7ea90d3af
commit
3da4aa9efa
5 changed files with 116 additions and 44 deletions
|
|
@ -4666,7 +4666,7 @@ namespace Server
|
|||
|
||||
text = regArgs.Speech;
|
||||
|
||||
if( text == null || text.Length == 0 )
|
||||
if( string.IsNullOrEmpty( text ) )
|
||||
return;
|
||||
|
||||
if( m_Hears == null )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue