This commit is contained in:
mark 2006-06-15 04:20:22 +00:00
parent 47711d616e
commit 67c240f6a7
2 changed files with 3 additions and 4 deletions

View file

@ -181,8 +181,7 @@ namespace Server.Commands
m_Interfaces = type.GetInterfaces();
m_TypeName = type.Name.Replace( '<', '(' );
m_TypeName = m_TypeName.Replace( '>', ')' );
m_TypeName = type.Name;
m_FileName = Docs.GetFileName( "docs/types/", m_TypeName, ".html" );
m_Writer = Docs.GetWriter( "docs/types/", m_FileName );
@ -193,7 +192,7 @@ namespace Server.Commands
public static string GetFileName( string root, string name, string ext )
{
if ( name.IndexOfAny( ReplaceChars ) >= 0 ) {
if ( name.IndexOfAny( ReplaceChars ) ) {
StringBuilder sb = new StringBuilder( name );
for ( int i = 0; i < ReplaceChars.Length; ++i ) {

View file

@ -1224,7 +1224,7 @@ namespace Server.Gumps
if( pattern == null ) //if is IP Address
{
contains = loginList[i].Equals( addr );
break;
continue;
}
contains = Utility.IPMatchCIDR( pattern, loginList[i] );