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

@ -91,7 +91,7 @@ namespace Server
{
string type = element.GetAttribute( "type" );
if ( type == null || type == String.Empty )
if ( String.IsNullOrEmpty( type ) )
continue;
try
@ -106,4 +106,4 @@ namespace Server
}
}
}
}
}