ugly mistakes

This commit is contained in:
mark 2006-06-15 06:31:52 +00:00
parent ab1f707545
commit e67388dda3
2 changed files with 2 additions and 2 deletions

View file

@ -192,7 +192,7 @@ namespace Server.Commands
public static string GetFileName( string root, string name, string ext )
{
if ( name.IndexOfAny( ReplaceChars ) ) {
if ( name.IndexOfAny( ReplaceChars ) >= 0 ) {
StringBuilder sb = new StringBuilder( name );
for ( int i = 0; i < ReplaceChars.Length; ++i ) {